(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 d0b6d84..a6d24f5 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