Commit 5f9f981b authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(rmail-dont-reply-to): Avoid infinite loop if

rmail-dont-reply-to-names matches the empty string.
parent 8ff16b4e
2000-09-25 Markus Rost <rost@math.ohio-state.edu>
* mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
rmail-dont-reply-to-names matches the empty string.
2000-09-25 Gerd Moellmann <gerd@gnu.org>
* startup.el (command-line-1, fancy-splash-text): Change the
......
......@@ -223,7 +223,8 @@ Usenet paths ending in an element that matches are removed also."
"\\)[^,]*"))
(case-fold-search t)
pos epos)
(while (setq pos (string-match match userids pos))
(while (and (setq pos (string-match match userids pos))
(> (length userids 0)))
;; If there's a match, it starts at the beginning of the string,
;; or with `,'. We must delete from that position to the
;; end of the user-id which starts at match-beginning 2.
......
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