Re: [PATCH 1/3] emacs: Fix mail composition under Emacs 23

2016-01-06 Thread Michal Sojka
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 ""))

Re: [PATCH 1/3] emacs: Fix mail composition under Emacs 23

2016-01-04 Thread David Bremner
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

[PATCH 1/3] emacs: Fix mail composition under Emacs 23

2016-01-02 Thread Michal Sojka
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. ---