From c3ea59b7df885a4270c09368497df5a14c1e5e72 Mon Sep 17 00:00:00 2001 From: djcb Date: Sat, 31 Mar 2012 17:39:47 +0300 Subject: [PATCH] * mu4e-send.el: mark the buffer as 'modified' when sending it, so it will be written to disk when we call save-buffer --- emacs/mu4e-send.el | 1 + 1 file changed, 1 insertion(+) diff --git a/emacs/mu4e-send.el b/emacs/mu4e-send.el index 8cc7a4b1..4763e017 100644 --- a/emacs/mu4e-send.el +++ b/emacs/mu4e-send.el @@ -334,6 +334,7 @@ use the new docid. Returns the full path to the new message." ;; with (:sent ...) sexp, which is handled in `mu4e-send-compose-handler'. (add-hook 'message-sent-hook (lambda () + (set-buffer-modified-p t) (basic-save-buffer) (mu4e-proc-sent (buffer-file-name) mu4e-drafts-folder)))