]> git.eshelyaron.com Git - emacs.git/commitdiff
(mail-send): Use [[:space:]] instead of a literal blank
authorEli Zaretskii <eliz@gnu.org>
Sat, 21 May 2005 11:48:00 +0000 (11:48 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 21 May 2005 11:48:00 +0000 (11:48 +0000)
when splitting new-header-values.

lisp/mail/sendmail.el

index d0b6d84741e2992d53e76efa5f82b186084bac57..a6d24f58195ba3798869f48086de3ec02ca677d2 100644 (file)
@@ -810,7 +810,8 @@ the user from the mailer."
                             '(lambda (e)
                                (unless (member e l)
                                  (push e l)))
-                            (split-string new-header-values ", +" t))
+                            (split-string new-header-values
+                                          ",[[:space:]]+" t))
                            (mapconcat 'identity l ", "))
                          "\n"))
                ;; Add Mail-Reply-To if none yet