From 74e9de25e5d7661a86f7ef0e18a58cb04dcc4d38 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Tue, 3 Nov 2020 15:32:33 +0100 Subject: Disable auto-save for mail composition --- gui/conf/email.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gui') diff --git a/gui/conf/email.el b/gui/conf/email.el index 83f36d2..0a4bc14 100644 --- a/gui/conf/email.el +++ b/gui/conf/email.el @@ -22,7 +22,8 @@ (doom-modeline-gnus nil) :config (require 'org-mu4e) - (evil-collection-init 'mu4e)) + (evil-collection-init 'mu4e) + (add-hook 'mu4e-compose-mode-hook #'(lambda () (auto-save-mode -1)))) (use-package mu4e-alert :ensure t -- cgit v1.2.3