[PATCH v1] emacs: Forwarded messages should not have modified buffers
Mark Walters
markwalters1009 at gmail.com
Mon Jun 2 06:43:46 PDT 2014
Tomi Ollila <tomi.ollila at iki.fi> writes:
> On Mon, Jun 02 2014, David Edmondson <dme at dme.org> wrote:
>
>> 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.
>> ---
>
> LGTM.
>
> Tomi
and me. +1
Mark
>
>
>> emacs/notmuch-mua.el | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
>> index 95e4a4d..2c58886 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.
>> --
>> 2.0.0.rc2
>>
>> _______________________________________________
>> notmuch mailing list
>> notmuch at notmuchmail.org
>> http://notmuchmail.org/mailman/listinfo/notmuch
> _______________________________________________
> notmuch mailing list
> notmuch at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch
More information about the notmuch
mailing list