rmail-dont-reply-to-names matches the empty string.
+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
"\\)[^,]*"))
(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.