Commit 97bd30eb authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(rmail-dont-reply-to): Remove leading commas as well.

parent 090f7baa
......@@ -247,7 +247,7 @@ Usenet paths ending in an element that matches are removed also."
(if (setq pos (string-match "[ ,\t\n]*\\'" userids))
(setq userids (substring userids 0 pos)))
;; remove leading spaces. they bother me.
(if (string-match "\\s *" userids)
(if (string-match "\\(\\s \\|,\\)*" userids)
(substring userids (match-end 0))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment