summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2019-03-28 11:43:09 +0100
committerMichael Albinus <michael.albinus@gmx.de>2019-03-28 11:43:09 +0100
commit2654c0b61b2cb8ee14d84f042ae6fc605adf64a8 (patch)
tree9bf69b062f8608c1985100e2992a5c8586fb4cdd
parent7f129f2ecfbdded5c31e9d9fc8bf11ce0e017000 (diff)
downloademacs-2654c0b61b2cb8ee14d84f042ae6fc605adf64a8.tar.gz
* lisp/net/tramp.el (tramp-accept-process-output): Use `push'.
-rw-r--r--lisp/net/tramp.el2
1 files changed, 1 insertions, 1 deletions
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"