mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Avoid hang in nnimap-keepalive
* lisp/gnus/nnimap.el (nnimap-keepalive): Make interruptable.
This commit is contained in:
parent
afe7d9bd59
commit
8b3291d134
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue