about summary refs log tree commit diff
path: root/init
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-06-12T07·10+0200
committerVincent Ambo <tazjin@gmail.com>2018-06-12T07·10+0200
commit711afd3bd5e367df2812ac4e14128b4a034db081 (patch)
tree63b6738cdb52dc368466d9711b003ccfa0a7aa14 /init
parent45432f9b34d8ba5b204a409a1959e1ccf4147faf (diff)
chore(mail): Unbind notmuch-save-draft
I don't use drafts and they're kind of annoying.
Diffstat (limited to 'init')
-rw-r--r--init/mail-setup.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/init/mail-setup.el b/init/mail-setup.el
index bdbab45fdd84..cec8b7a3f336 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.