# HG changeset patch # User Richard M. Stallman # Date 825156908 0 # Node ID 071940e2a5637ac22ff819e1c78c2e323dc95154 # Parent 7669c19beda85f0dab4d9a4a11d52f04613e3874 (rmail-dont-reply-to): Allow parsing lists of addresses with comment fields. diff -r 7669c19beda8 -r 071940e2a563 lisp/mail/mail-utils.el --- a/lisp/mail/mail-utils.el Sat Feb 24 04:43:05 1996 +0000 +++ b/lisp/mail/mail-utils.el Sat Feb 24 10:15:08 1996 +0000 @@ -150,7 +150,8 @@ (while (setq pos (string-match match userids)) (if (> pos 0) (setq pos (match-beginning 2))) (setq epos - (if (string-match "[ \t\n,]+" userids (match-end 0)) + ;; Delete thru the next comma, plus whitespace after. + (if (string-match ",[ \t\n]+" userids (match-end 0)) (match-end 0) (length userids))) (setq userids