projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afe7d9b
)
Avoid hang in nnimap-keepalive
author
Andreas Schwab
<schwab@linux-m68k.org>
Tue, 1 Jun 2021 13:46:34 +0000
(15:46 +0200)
committer
Andreas Schwab
<schwab@linux-m68k.org>
Tue, 1 Jun 2021 13:54:49 +0000
(15:54 +0200)
* lisp/gnus/nnimap.el (nnimap-keepalive): Make interruptable.
lisp/gnus/nnimap.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/nnimap.el
b/lisp/gnus/nnimap.el
index f869f586d94a688b282265bcb9c71f128bceff74..3e2a202a6cff78d30c7a202c195908af13483612 100644
(file)
--- a/
lisp/gnus/nnimap.el
+++ b/
lisp/gnus/nnimap.el
@@
-428,8
+428,9
@@
during splitting, which may be slow."
(time-subtract
now
(nnimap-last-command-time nnimap-object))))
- (ignore-errors ;E.g. "buffer foo has no process".
- (nnimap-send-command "NOOP"))))))))
+ (with-local-quit
+ (ignore-errors ;E.g. "buffer foo has no process".
+ (nnimap-send-command "NOOP")))))))))
(defun nnimap-open-connection (buffer)
;; Be backwards-compatible -- the earlier value of nnimap-stream was