summaryrefslogtreecommitdiffhomepage
path: root/notmuch.org
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-11-13 03:42:12 +0000
committerjao <jao@gnu.org>2021-11-13 03:44:54 +0000
commit054f87bed520566bf0216ef905a2569cdd343701 (patch)
treea3d05161d9ae7a13acef9db0202ed3abaeeb217e /notmuch.org
parenta59d2ce1d399385fdb377d73f34f9198159a9334 (diff)
downloadelibs-054f87bed520566bf0216ef905a2569cdd343701.tar.gz
elibs-054f87bed520566bf0216ef905a2569cdd343701.tar.bz2
don't let notmuch interfere in address completion
Diffstat (limited to 'notmuch.org')
-rw-r--r--notmuch.org11
1 files changed, 5 insertions, 6 deletions
diff --git a/notmuch.org b/notmuch.org
index 13843f0..9094c32 100644
--- a/notmuch.org
+++ b/notmuch.org
@@ -166,9 +166,10 @@
(add-to-list 'load-path "/usr/local/share/emacs/site-lisp/"))
(use-package notmuch
+ :init
:custom
((notmuch-address-use-company nil)
- (notmuch-draft-folder "jao/drafts")
+ (notmuch-draft-folder "jao.drafts")
(notmuch-draft-quoted-tags '("part"))
(notmuch-address-internal-completion '(received nil))
(notmuch-fcc-dirs
@@ -180,7 +181,8 @@
:config
- (when (eq 'notmuch jao-afio-mail-function)
+ (when jao-notmuch-enabled-p
+ (define-key message-mode-map (kbd "C-c C-d") #'notmuch-draft-postpone)
(setq message-directory "~/var/mail/"
message-auto-save-directory "/tmp"
mail-user-agent 'message-user-agent))
@@ -188,10 +190,7 @@
:bind (:map notmuch-common-keymap
(("E" . jao-notmuch-open-enclosure)
("B" . notmuch-show-resend-message)
- ("b" . jao-notmuch-browse-urls))
- :filter (eq 'notmuch jao-afio-mail-function)
- :map message-mode-map
- (("C-c C-d" . notmuch-draft-postpone))))
+ ("b" . jao-notmuch-browse-urls))))
(use-package jao-notmuch :demand t)