emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 6b3e3ff6991: Fix tramp-accept-process-output


From: Michael Albinus
Subject: master 6b3e3ff6991: Fix tramp-accept-process-output
Date: Tue, 29 Aug 2023 08:16:27 -0400 (EDT)

branch: master
commit 6b3e3ff6991359c1516e3fc8bb350389a6a9aafe
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>

    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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]