about summary refs log tree commit diff
diff options
context:
space:
mode:
-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.