summaryrefslogtreecommitdiff
path: root/lisp/mail
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2005-05-21 11:48:00 +0000
committerEli Zaretskii <eliz@gnu.org>2005-05-21 11:48:00 +0000
commit6f0de615c1fb07e988e88b405b7d60f7cf7edf93 (patch)
treef71362061ea38375ffa625e5eab12aaf0bc345f5 /lisp/mail
parent6e50f7e0d1258a2dd60fb5e1a60a71cf016b6c96 (diff)
downloademacs-6f0de615c1fb07e988e88b405b7d60f7cf7edf93.tar.gz
(mail-send): Use [[:space:]] instead of a literal blank
when splitting new-header-values.
Diffstat (limited to 'lisp/mail')
-rw-r--r--lisp/mail/sendmail.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index d0b6d84741e..a6d24f58195 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -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