1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

rmail-dont-reply-to-names is obsolete

* lisp/gnus/nnmail.el (nnmail-fancy-expiry-target): Don't bind
the obsolete `rmail-dont-reply-to-names' variable.
This commit is contained in:
Lars Ingebrigtsen 2016-02-12 17:15:11 +11:00
parent 0ff58f6965
commit d3560e0af4

View file

@ -1950,10 +1950,8 @@ If TIME is nil, then return the cutoff time for oldness instead."
((and (equal header 'to-from)
(or (string-match (cadr regexp-target-pair) from)
(and (string-match (cadr regexp-target-pair) to)
(let* ((mail-dont-reply-to-names
(message-dont-reply-to-names))
(rmail-dont-reply-to-names ; obsolete since 24.1
mail-dont-reply-to-names))
(let ((mail-dont-reply-to-names
(message-dont-reply-to-names)))
(equal (if (fboundp 'rmail-dont-reply-to)
(rmail-dont-reply-to from)
(mail-dont-reply-to from)) "")))))