1
0
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:
Andreas Schwab 2021-06-01 15:46:34 +02:00
parent afe7d9bd59
commit 8b3291d134

View File

@ -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