On Wed, Jun 08 2022, David Bremner wrote:
> jao writes:
>
>>
>>
>> +(defun notmuch-mua--remove-dont-reply-to-names ()
>> + (when-let ((nr (message-dont-reply-to-names)))
>
> Using when-let is fine with me, but I wonder if we should follow the
> advice in subr-x to do
>
>
jao writes:
>
>
> +(defun notmuch-mua--remove-dont-reply-to-names ()
> + (when-let ((nr (message-dont-reply-to-names)))
Using when-let is fine with me, but I wonder if we should follow the
advice in subr-x to do
(eval-when-compile (require 'subr-x))
It's autoloaded, but maybe we can
notmuch-mua functions for replies now use the built-in customizable
variable message-dont-reply-to-names with the same semantics as
message-mode.
---
This version of the patch adds more testing and ensures predicate values work
Signed-off-by: jao
---
doc/notmuch-emacs.rst | 9