From: Richard M. Stallman Date: Sat, 22 Mar 1997 03:44:08 +0000 (+0000) Subject: (rmail-dont-reply-to): Delete debugging code. X-Git-Tag: emacs-20.1~2736 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=13c2b5cb7720c3a615bc093ed352fdf2cf80109a;p=emacs.git (rmail-dont-reply-to): Delete debugging code. Don't insist on whitespace after commas. --- diff --git a/lisp/mail/mail-utils.el b/lisp/mail/mail-utils.el index 2dc5a7687b8..2462a053409 100644 --- a/lisp/mail/mail-utils.el +++ b/lisp/mail/mail-utils.el @@ -148,12 +148,11 @@ Usenet paths ending in an element that matches are removed also." "\\)")) (case-fold-search t) pos epos) - (setq foo match) (while (setq pos (string-match match userids)) (if (> pos 0) (setq pos (match-beginning 2))) (setq epos ;; Delete thru the next comma, plus whitespace after. - (if (string-match ",[ \t\n]+" userids (match-end 0)) + (if (string-match ",[ \t\n]*" userids (match-end 0)) (match-end 0) (length userids))) (setq userids