diff options
author | David Edmondson <dme@dme.org> | 2014-06-16 06:30:11 +0100 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2014-06-22 07:41:49 -0300 |
commit | b732a58a00ca48dd1a3892e10cf4a22d0715d9bc (patch) | |
tree | 593734c5f6f2dce54509586ac702e5af948b5d10 /emacs | |
parent | cc2722ba9e1b2854c5500eb7bb41910478aa8fce (diff) |
emacs: Forwarded messages should not have modified buffers
When the user begins forwarding a message, the resulting composition
buffer should not be marked as modified, in order that it can
immediately be killed without prompting.
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/notmuch-mua.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index 95e4a4d3..2c588860 100644 --- a/emacs/notmuch-mua.el +++ b/emacs/notmuch-mua.el @@ -346,7 +346,8 @@ the From: address first." (message-forward-make-body cur) ;; `message-forward-make-body' shows the User-agent header. Hide ;; it again. - (message-hide-headers))) + (message-hide-headers) + (set-buffer-modified-p nil))) (defun notmuch-mua-new-reply (query-string &optional prompt-for-sender reply-all) "Compose a reply to the message identified by QUERY-STRING. |