summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/tq.el
diff options
context:
space:
mode:
authorMichael Olson <mwolson@gnu.org>2008-09-20 04:39:32 +0000
committerMichael Olson <mwolson@gnu.org>2008-09-20 04:39:32 +0000
commita7be409c6b9884611e1269b1a41b41046effcca8 (patch)
tree01943c5c9f78761c4c2a4baa5d6a320405cf26dc /lisp/emacs-lisp/tq.el
parent204ebc5b244cf4452a60d38e776c0596f6fa1cc6 (diff)
downloademacs-a7be409c6b9884611e1269b1a41b41046effcca8.tar.gz
tq.el: Disable undo in buffer.
Diffstat (limited to 'lisp/emacs-lisp/tq.el')
-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)))