notmuch: Improve address completion with Helm

master
Pierre Neidhardt 2019-04-25 09:34:20 +02:00
parent f201b0f498
commit ad5169682f
1 changed files with 6 additions and 0 deletions

View File

@ -60,4 +60,10 @@
(define-key notmuch-show-mode-map "b" #'notmuch-show-bounce)
;; Improve address completion with Helm.
(setq notmuch-address-use-company nil)
(setq notmuch-address-selection-function
(lambda (prompt collection initial-input)
(completing-read prompt (cons initial-input collection) nil t nil 'notmuch-address-history)))
(provide 'init-notmuch)