summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-07-20 21:27:15 +0300
committerEli Zaretskii <eliz@gnu.org>2022-07-20 21:27:15 +0300
commitea44d7ddfc9fe07fbdffd8e02db2ef6bab1f8b5c (patch)
treee25649429701535ecbd61c3f1b8a075e03a8462a
parentf02944f5a1ad18ceed4ae40a0fbbdddc981b4893 (diff)
downloademacs-ea44d7ddfc9fe07fbdffd8e02db2ef6bab1f8b5c.tar.gz
; * lisp/mail/smtpmail.el (smtpmail-via-smtp): Explain with-case-table.
-rw-r--r--lisp/mail/smtpmail.el6
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)