mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-24 10:38:38 +00:00
(rmail-dont-reply-to): Remove leading commas as well.
This commit is contained in:
parent
090f7baafb
commit
97bd30eb51
@ -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))
|
||||
userids)))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user