mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 10:58:10 +01:00
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.
This commit is contained in:
parent
cc2722ba9e
commit
b732a58a00
1 changed files with 2 additions and 1 deletions
|
@ -346,7 +346,8 @@ the From: address first."
|
||||||
(message-forward-make-body cur)
|
(message-forward-make-body cur)
|
||||||
;; `message-forward-make-body' shows the User-agent header. Hide
|
;; `message-forward-make-body' shows the User-agent header. Hide
|
||||||
;; it again.
|
;; 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)
|
(defun notmuch-mua-new-reply (query-string &optional prompt-for-sender reply-all)
|
||||||
"Compose a reply to the message identified by QUERY-STRING.
|
"Compose a reply to the message identified by QUERY-STRING.
|
||||||
|
|
Loading…
Reference in a new issue