From 711afd3bd5e367df2812ac4e14128b4a034db081 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 12 Jun 2018 09:10:25 +0200 Subject: [PATCH] chore(mail): Unbind notmuch-save-draft I don't use drafts and they're kind of annoying. --- init/mail-setup.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init/mail-setup.el b/init/mail-setup.el index bdbab45fd..cec8b7a3f 100644 --- a/init/mail-setup.el +++ b/init/mail-setup.el @@ -45,6 +45,10 @@ ;; in the UI m( ("vincent@aprila.no" . "aprila/Sende element"))) +;; I don't use drafts but I instinctively hit C-x C-s constantly, lets +;; handle that gracefully. +(define-key notmuch-message-mode-map (kbd "C-x C-s") #'ignore) + ;; MSMTP decrypts passwords using pass, but pinentry doesn't work ;; correctly in that setup. This forces a warmup of the GPG agent ;; before sending the message.