(message-idna-to-ascii-rhs-1): RHS can be terminated
authorSimon Josefsson <jas@extundo.com>
Wed, 1 Oct 2003 17:04:59 +0000 (17:04 +0000)
committerSimon Josefsson <jas@extundo.com>
Wed, 1 Oct 2003 17:04:59 +0000 (17:04 +0000)
by ',', as in 'foo@example.org, bar@example.org'.

lisp/ChangeLog
lisp/message.el

index b82e76c..bfe4b8c 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-01  Simon Josefsson  <jas@extundo.com>
+
+       * message.el (message-idna-to-ascii-rhs-1): RHS can be terminated
+       by ',', as in 'foo@example.org, bar@example.org'.
+
 2003-10-01  Jesper Harder  <harder@ifa.au.dk>
 
        * message.el (message-send): Fix reversed logic of supersedes
index a50f4ca..930b97a 100644 (file)
@@ -4744,7 +4744,7 @@ I.e., calling it on a Subject: header is useless."
   (let (rhs ace start startpos endpos ovl)
     (goto-char (point-min))
     (while (re-search-forward (concat "^" header) nil t)
-      (while (re-search-forward "@\\([^ \t\r\n>]+\\)"
+      (while (re-search-forward "@\\([^ \t\r\n>,]+\\)"
                                (or (save-excursion
                                      (re-search-forward "^[^ \t]" nil t))
                                    (point-max))