* mu4e: unbreak mu4e~compose-setup-fcc-maybe, in particular, 'delete;
This commit is contained in:
@ -159,9 +159,13 @@ Messages are captured with `mu4e-action-capture-message'."
|
|||||||
"Maybe setup Fcc, based on `mu4e-sent-messages-behavior'.
|
"Maybe setup Fcc, based on `mu4e-sent-messages-behavior'.
|
||||||
If needed, set the Fcc header, and register the handler function."
|
If needed, set the Fcc header, and register the handler function."
|
||||||
(let* ((sent-behavior
|
(let* ((sent-behavior
|
||||||
|
;; Note; we cannot simply use functionp here, since at least
|
||||||
|
;; delete is a function, too...
|
||||||
|
(if (member mu4e-sent-messages-behavior '(delete trash sent))
|
||||||
|
mu4e-sent-messages-behavior
|
||||||
(if (functionp mu4e-sent-messages-behavior)
|
(if (functionp mu4e-sent-messages-behavior)
|
||||||
(funcall mu4e-sent-messages-behavior)
|
(funcall mu4e-sent-messages-behavior)
|
||||||
mu4e-sent-messages-behavior))
|
mu4e-sent-messages-behavior)))
|
||||||
(mdir
|
(mdir
|
||||||
(case sent-behavior
|
(case sent-behavior
|
||||||
(delete nil)
|
(delete nil)
|
||||||
|
|||||||
Reference in New Issue
Block a user