aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2020-11-16 22:28:22 +0100
committerDavid Bremner <david@tethera.net>2020-12-06 16:17:36 -0400
commitf061ae5b427136b759957622210d5f83e5e61e5a (patch)
tree85d54689eb51829947b06d308df88bfb306c6037
parent8d701cdc997a1310efb2b6e08b95d705da9062e6 (diff)
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: 7e20d26480553f57d53bd9ec28cae163c1ac91e3 emacs: Fix mail composition under Emacs 23
-rw-r--r--emacs/notmuch-mua.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
index 616b625c..1204fb6a 100644
--- a/emacs/notmuch-mua.el
+++ b/emacs/notmuch-mua.el
@@ -402,7 +402,7 @@ modified. This function is notmuch adaptation of
;; 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
;; Emacs 23.
- (when return-action (nconc args '(return-action)))
+ (when return-action (nconc args (list return-action)))
(apply 'message-setup-1 headers args))
(notmuch-fcc-header-setup)
(message-sort-headers)