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:
Nicholas Vollmer 2023-11-22 16:10:08 -05:00
parent fa0248a361
commit 4ab0ae5565
1 changed files with 1 additions and 1 deletions

View File

@ -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)