* lisp/net/tramp.el (tramp-accept-process-output): Use `with-local-quit'.

This commit is contained in:
Michael Albinus 2023-03-31 09:45:23 +02:00
parent 73a320801e
commit 06743df33a

View file

@ -5815,7 +5815,7 @@ If the user quits via `C-g', it is propagated up to `tramp-file-name-handler'."
(v (process-get proc 'tramp-vector)))
(dolist (p (delq proc (process-list)))
(when (tramp-file-name-equal-p v (process-get p 'tramp-vector))
(accept-process-output p 0 nil t))))
(with-local-quit (accept-process-output p 0 nil t)))))
(with-current-buffer (process-buffer proc)
(let ((inhibit-read-only t)