mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-12 16:23:57 +00:00
Avoid hang in nnimap-keepalive
* lisp/gnus/nnimap.el (nnimap-keepalive): Make interruptable.
This commit is contained in:
parent
afe7d9bd59
commit
8b3291d134
@ -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…
Reference in New Issue
Block a user