From 6b3e3ff6991359c1516e3fc8bb350389a6a9aafe Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Tue, 29 Aug 2023 14:16:15 +0200 Subject: [PATCH] Fix tramp-accept-process-output * lisp/net/tramp.el (tramp-accept-process-output): Use `with-tramp-suspended-timers' also for the other processes. --- lisp/net/tramp.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 9d555c5621b..b34d3ff6695 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -5615,7 +5615,8 @@ 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)) - (with-local-quit (accept-process-output p 0 nil t))))) + (with-tramp-suspended-timers + (with-local-quit (accept-process-output p 0 nil t)))))) (with-current-buffer (process-buffer proc) (let ((inhibit-read-only t) -- 2.39.5