mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-25 07:28:20 +00:00
Fix return value of imap-starttls-open
* lisp/net/imap.el (imap-starttls-open): Fix return value.
This commit is contained in:
parent
20c7e34a71
commit
cdecbedbf0
@ -752,8 +752,9 @@ sure of changing the value of `foo'."
|
||||
(lambda (capabilities)
|
||||
(when (string-match-p "STARTTLS" capabilities)
|
||||
"1 STARTTLS\r\n"))))
|
||||
(done (and process
|
||||
(memq (process-status process) '(open run)))))
|
||||
(done (if (and process
|
||||
(memq (process-status process) '(open run)))
|
||||
process)))
|
||||
(message "imap: Connecting with STARTTLS...%s" (if done "done" "failed"))
|
||||
done))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user