projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20c7e34
)
Fix return value of imap-starttls-open
author
Andreas Schwab
<schwab@linux-m68k.org>
Sun, 31 Jan 2016 12:34:03 +0000
(13:34 +0100)
committer
Andreas Schwab
<schwab@linux-m68k.org>
Sun, 31 Jan 2016 12:36:22 +0000
(13:36 +0100)
* lisp/net/imap.el (imap-starttls-open): Fix return value.
lisp/net/imap.el
patch
|
blob
|
history
diff --git
a/lisp/net/imap.el
b/lisp/net/imap.el
index 5c5ed868172bad2de8e88ae640e32303ecd4c085..7e4cc72028f1de1a090076a7de1a6c44b33133dc 100644
(file)
--- a/
lisp/net/imap.el
+++ b/
lisp/net/imap.el
@@
-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))