emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 24b7f810d84: Reuse already read `capabilities'


From: Eli Zaretskii
Subject: master 24b7f810d84: Reuse already read `capabilities'
Date: Sat, 10 Aug 2024 03:44:16 -0400 (EDT)

branch: master
commit 24b7f810d843f2264131b881c6f451e7bd041b40
Author: Manuel Giraud <manuel@ledu-giraud.fr>
Commit: Eli Zaretskii <eliz@gnu.org>

    Reuse already read `capabilities'
    
    * lisp/mail/smtpmail.el (smtpmail-via-smtp): Reuse already read
    `capabilities'.  (Bug#72544)
---
 lisp/mail/smtpmail.el | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el
index 98083c0489a..c98fdfd10ed 100644
--- a/lisp/mail/smtpmail.el
+++ b/lisp/mail/smtpmail.el
@@ -800,11 +800,7 @@ Returns an error if the server cannot be contacted."
                  (smtpmail-command-or-throw
                   process (format "HELO %s" (smtpmail-fqdn)))
                ;; EHLO was successful, so we parse the extensions.
-               (dolist (line (delete
-                              ""
-                              (split-string
-                               (plist-get (cdr result) :capabilities)
-                               "\r\n")))
+               (dolist (line (delete "" (split-string capabilities "\r\n")))
                  (let ((name
                          ;; Use ASCII case-table to prevent I
                          ;; downcasing to a dotless i under some



reply via email to

[Prev in Thread] Current Thread [Next in Thread]