aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman1997-03-22 03:44:08 +0000
committerRichard M. Stallman1997-03-22 03:44:08 +0000
commit13c2b5cb7720c3a615bc093ed352fdf2cf80109a (patch)
treee1e140245ecfb41986807dc198d08d7dc0829784 /lisp
parent7b3478a5e8fd1a37b810602a6fa754297537b7f0 (diff)
downloademacs-13c2b5cb7720c3a615bc093ed352fdf2cf80109a.tar.gz
emacs-13c2b5cb7720c3a615bc093ed352fdf2cf80109a.zip
(rmail-dont-reply-to): Delete debugging code.
Don't insist on whitespace after commas.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mail/mail-utils.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/mail/mail-utils.el b/lisp/mail/mail-utils.el
index 2dc5a7687b8..2462a053409 100644
--- a/lisp/mail/mail-utils.el
+++ b/lisp/mail/mail-utils.el
@@ -148,12 +148,11 @@ Usenet paths ending in an element that matches are removed also."
148 "\\)")) 148 "\\)"))
149 (case-fold-search t) 149 (case-fold-search t)
150 pos epos) 150 pos epos)
151 (setq foo match)
152 (while (setq pos (string-match match userids)) 151 (while (setq pos (string-match match userids))
153 (if (> pos 0) (setq pos (match-beginning 2))) 152 (if (> pos 0) (setq pos (match-beginning 2)))
154 (setq epos 153 (setq epos
155 ;; Delete thru the next comma, plus whitespace after. 154 ;; Delete thru the next comma, plus whitespace after.
156 (if (string-match ",[ \t\n]+" userids (match-end 0)) 155 (if (string-match ",[ \t\n]*" userids (match-end 0))
157 (match-end 0) 156 (match-end 0)
158 (length userids))) 157 (length userids)))
159 (setq userids 158 (setq userids