diff options
author | Eli Zaretskii <eliz@gnu.org> | 2022-07-20 21:27:15 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-07-20 21:27:15 +0300 |
commit | ea44d7ddfc9fe07fbdffd8e02db2ef6bab1f8b5c (patch) | |
tree | e25649429701535ecbd61c3f1b8a075e03a8462a /lisp/mail/smtpmail.el | |
parent | f02944f5a1ad18ceed4ae40a0fbbdddc981b4893 (diff) | |
download | emacs-ea44d7ddfc9fe07fbdffd8e02db2ef6bab1f8b5c.tar.gz emacs-ea44d7ddfc9fe07fbdffd8e02db2ef6bab1f8b5c.tar.bz2 emacs-ea44d7ddfc9fe07fbdffd8e02db2ef6bab1f8b5c.zip |
; * lisp/mail/smtpmail.el (smtpmail-via-smtp): Explain with-case-table.
Diffstat (limited to 'lisp/mail/smtpmail.el')
-rw-r--r-- | lisp/mail/smtpmail.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el index 8ac0cd7e7c0..33458178a51 100644 --- a/lisp/mail/smtpmail.el +++ b/lisp/mail/smtpmail.el @@ -805,7 +805,11 @@ Returns an error if the server cannot be contacted." (plist-get (cdr result) :capabilities) "\r\n"))) (let ((name - (with-case-table ascii-case-table ;FIXME: Why? + ;; Use ASCII case-table to prevent I + ;; downcasing to a dotless i under some + ;; language environments. See + ;; https://lists.gnu.org/archive/html/emacs-devel/2007-03/msg01760.html. + (with-case-table ascii-case-table (mapcar (lambda (s) (intern (downcase s))) (split-string (substring line 4) "[ ]"))))) (when (= (length name) 1) |