From 4ab0ae5565281179ee78a2f867ef605c5d7c3d4d Mon Sep 17 00:00:00 2001 From: Nicholas Vollmer Date: Wed, 22 Nov 2023 16:10:08 -0500 Subject: [PATCH] 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 --- mu4e/mu4e-compose.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mu4e/mu4e-compose.el b/mu4e/mu4e-compose.el index 8a0664d6..12854aca 100644 --- a/mu4e/mu4e-compose.el +++ b/mu4e/mu4e-compose.el @@ -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)