summaryrefslogtreecommitdiff
path: root/lisp/mail
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2007-04-04 15:38:04 +0000
committerChong Yidong <cyd@stupidchicken.com>2007-04-04 15:38:04 +0000
commitb242a76c57eaef55caafeab20e07318a65140e1d (patch)
treea9ec96f035c948236d3d7ab4095f49bf75b3c4b7 /lisp/mail
parent94e630238aba2c55d0b5f19425a0a94790a6bc05 (diff)
downloademacs-b242a76c57eaef55caafeab20e07318a65140e1d.tar.gz
(smtpmail-via-smtp): Use ascii-case-table when downcasing.
Diffstat (limited to 'lisp/mail')
-rw-r--r--lisp/mail/smtpmail.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el
index 4d19e9371fd..66c4bdd8df7 100644
--- a/lisp/mail/smtpmail.el
+++ b/lisp/mail/smtpmail.el
@@ -691,8 +691,10 @@ This is relative to `smtpmail-queue-dir'.")
(>= (car response-code) 400))
(throw 'done nil)))
(dolist (line (cdr (cdr response-code)))
- (let ((name (mapcar (lambda (s) (intern (downcase s)))
- (split-string (substring line 4) "[ ]"))))
+ (let ((name
+ (with-case-table ascii-case-table
+ (mapcar (lambda (s) (intern (downcase s)))
+ (split-string (substring line 4) "[ ]")))))
(and (eq (length name) 1)
(setq name (car name)))
(and name