mirror of https://github.com/djcb/mu.git
mu4e-compose-reply: account for nil REPLY-TYPE in assertion
Previous assertion would fail when REPLY-TYPE is nil, but nil is a valid value for the argument. See: https://github.com/djcb/mu/issues/2601
This commit is contained in:
parent
fa0248a361
commit
4ab0ae5565
|
@ -803,7 +803,7 @@ of message."
|
|||
"Reply to the message at point with REPLY-TYPE.
|
||||
REPLY-TYPE is either nil (normal reply), \='wide or \='supersede."
|
||||
(interactive)
|
||||
(cl-assert (when reply-type (member reply-type '(wide supersede))))
|
||||
(cl-assert (member reply-type '(wide supersede nil)))
|
||||
(mu4e--compose-setup
|
||||
'reply
|
||||
(lambda (parent)
|
||||
|
|
Loading…
Reference in New Issue