mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(smtpmail-via-smtp): Use standard case table when downcasing.
This commit is contained in:
parent
34f6db45c8
commit
b6aee6ff1a
1 changed files with 12 additions and 2 deletions
|
|
@ -691,8 +691,18 @@ 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 ((old-case-table (current-case-table))
|
||||
name)
|
||||
;; Make sure we're using the standard case table
|
||||
;; when downcasing; for instance, a downcased I is a
|
||||
;; dotless i in Turkish.
|
||||
(unwind-protect
|
||||
(progn (set-case-table (standard-case-table))
|
||||
(setq name
|
||||
(mapcar (lambda (s) (intern (downcase s)))
|
||||
(split-string
|
||||
(substring line 4) "[ ]"))))
|
||||
(set-case-table old-case-table))
|
||||
(and (eq (length name) 1)
|
||||
(setq name (car name)))
|
||||
(and name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue