summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
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."
"\\)"))
(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
;; Delete thru the next comma, plus whitespace after.
- (if (string-match ",[ \t\n]+" userids (match-end 0))
+ (if (string-match ",[ \t\n]*" userids (match-end 0))
(match-end 0)
(length userids)))
(setq userids