On Tue, Jan 05 2016, David Bremner wrote:
> Michal Sojka writes:
>
>> +(when return-action (nconc args '(return-action)))
>> +(apply 'message-setup-1
>> + ;; The following sexp is copied from `message-mail'
>
>> + (nconc
>> +`((To . ,(or to ""))
Michal Sojka writes:
> +(when return-action (nconc args '(return-action)))
> +(apply 'message-setup-1
> +;; The following sexp is copied from `message-mail'
> +(nconc
> + `((To . ,(or to "")) (Subject . ,(or subject "")))
I missed this the
Commit 570c0aeb40bd0c3af8174624a55e968f62c44f09 reworked
notmuch-mua-mail function in a way that worked only under Emacs 24.
The reason was that message-setup-1 took one argument less in Emacs
23.
We fix this by only supplying the return-action argument when it is
actually set by the caller.
---