summaryrefslogtreecommitdiff
path: root/lisp/mail/mail-utils.el
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
commit0355a19ef4c43b1708a8c0d01058cb04a90253a5 (patch)
tree1f386901b0363d2b9e28aac07490c66a33aa59be /lisp/mail/mail-utils.el
parent2d51952978d7aec529d11bb3a8f4c40b6b202585 (diff)
downloademacs-0355a19ef4c43b1708a8c0d01058cb04a90253a5.tar.gz
(rmail-dont-reply-to): Recognize the names to delete
when they appear within <...>.
Diffstat (limited to 'lisp/mail/mail-utils.el')
-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