mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
emacs: fix old bug in notmuch-mua-mail
This fixes a regression introduced in [1:7e20d264
]. If the argument RETURN-ACTION was non-nil then we should pass along the value of that argument. Instead we passed along the constant symbol `return-action'. 1:7e20d26480
emacs: Fix mail composition under Emacs 23
This commit is contained in:
parent
8d701cdc99
commit
f061ae5b42
1 changed files with 1 additions and 1 deletions
|
@ -402,7 +402,7 @@ modified. This function is notmuch adaptation of
|
||||||
;; argument. Pass it only if it is supplied by the caller. This
|
;; argument. Pass it only if it is supplied by the caller. This
|
||||||
;; will never be the case when we're called by `compose-mail' in
|
;; will never be the case when we're called by `compose-mail' in
|
||||||
;; Emacs 23.
|
;; Emacs 23.
|
||||||
(when return-action (nconc args '(return-action)))
|
(when return-action (nconc args (list return-action)))
|
||||||
(apply 'message-setup-1 headers args))
|
(apply 'message-setup-1 headers args))
|
||||||
(notmuch-fcc-header-setup)
|
(notmuch-fcc-header-setup)
|
||||||
(message-sort-headers)
|
(message-sort-headers)
|
||||||
|
|
Loading…
Reference in a new issue