summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/tq.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/tq.el b/lisp/emacs-lisp/tq.el
index a7bfd3ac667..1ee6a12c5cf 100644
--- a/lisp/emacs-lisp/tq.el
+++ b/lisp/emacs-lisp/tq.el
@@ -85,6 +85,7 @@ to a tcp server on another machine."
(generate-new-buffer
(concat " tq-temp-"
(process-name process)))))))
+ (buffer-disable-undo (tq-buffer tq))
(set-process-filter process
`(lambda (proc string)
(tq-filter ',tq string)))