Make mu4e use helm as a completion read function

This commit is contained in:
Gergely Polonkai 2019-02-19 10:46:26 +01:00
parent a2eb2c48d7
commit 194fc2d810

View File

@ -2226,6 +2226,7 @@ Then configure ~real-auto-save-mode~
#+BEGIN_SRC emacs-lisp
(use-package mu4e
:after helm
:ensure nil
:config
(require 'org-mu4e)
@ -2261,8 +2262,10 @@ Then configure ~real-auto-save-mode~
(mu4e-drafts-folder . "/[Gmail].Drafts")
(mu4e-trash-folder . "/[Gmail].Trash")
(mu4e-refile-folder . "/[Gmail].Drafts"))))
mu4e-context-policy 'pick-first
org-mu4e-link-query-in-headers-mode nil)
:custom
(mu4e-completing-read-function 'helm-comp-read)
(mu4e-context-policy 'pick-first)
:bind
(:map gpolonkai/pers-map
("m m" . mu4e)