aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/mail/mail-utils.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mail/mail-utils.el b/lisp/mail/mail-utils.el
index 870f4ba1001..8af7e0a0f32 100644
--- a/lisp/mail/mail-utils.el
+++ b/lisp/mail/mail-utils.el
@@ -247,7 +247,7 @@ Usenet paths ending in an element that matches are removed also."
247 (if (setq pos (string-match "[ ,\t\n]*\\'" userids)) 247 (if (setq pos (string-match "[ ,\t\n]*\\'" userids))
248 (setq userids (substring userids 0 pos))) 248 (setq userids (substring userids 0 pos)))
249 ;; remove leading spaces. they bother me. 249 ;; remove leading spaces. they bother me.
250 (if (string-match "\\s *" userids) 250 (if (string-match "\\(\\s \\|,\\)*" userids)
251 (substring userids (match-end 0)) 251 (substring userids (match-end 0))
252 userids))) 252 userids)))
253 253