diff options
| -rw-r--r-- | lisp/mail/mail-utils.el | 3 |
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 |