From 2654c0b61b2cb8ee14d84f042ae6fc605adf64a8 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Thu, 28 Mar 2019 11:43:09 +0100 Subject: [PATCH] * lisp/net/tramp.el (tramp-accept-process-output): Use `push'. --- lisp/net/tramp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 0e062b71551..5b50d39a0d4 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -4081,7 +4081,7 @@ for process communication also." ;; Enable our progress reporter. (dolist (timer tl) (if (eq (timer--function timer) #'tramp-progress-reporter-update) - (add-to-list 'timer-list timer))) + (push timer timer-list))) ;; JUST-THIS-ONE is set due to Bug#12145. (tramp-message proc 10 "%s %s %s %s\n%s" -- 2.39.5