summaryrefslogtreecommitdiff
path: root/lisp/mail
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-09-02 00:19:02 +0000
committerRichard M. Stallman <rms@gnu.org>1996-09-02 00:19:02 +0000
commitff4599fdb52ea5b4d8f8766abe6be7faf4946c3f (patch)
treef4d80003d02308773f561f6e201e92c547fb41b1 /lisp/mail
parent5212210c8f8708e4e565745bf19bc480cbcfaaac (diff)
downloademacs-ff4599fdb52ea5b4d8f8766abe6be7faf4946c3f.tar.gz
(rmail-dont-reply-to): Recognize the names to delete
when they appear within <...>.
Diffstat (limited to 'lisp/mail')
-rw-r--r--lisp/mail/mail-utils.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/mail/mail-utils.el b/lisp/mail/mail-utils.el
index d0c569b0471..ebf2f617789 100644
--- a/lisp/mail/mail-utils.el
+++ b/lisp/mail/mail-utils.el
@@ -144,9 +144,11 @@ Usenet paths ending in an element that matches are removed also."
"\\>"))))
(let ((match (concat "\\(^\\|,\\)[ \t\n]*\\([^,\n]*!\\|\\)\\("
rmail-dont-reply-to-names
+ "\\|[^\,.<]*<\\(" rmail-dont-reply-to-names "\\)"
"\\)"))
(case-fold-search t)
pos epos)
+ (setq foo match)
(while (setq pos (string-match match userids))
(if (> pos 0) (setq pos (match-beginning 2)))
(setq epos