aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/scomint.el
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2009-09-04 16:41:32 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2009-09-04 16:41:32 +0000
commitd7997eed169686a3bc966fd4d6d7c68804e22eef (patch)
tree0a72baa3706bacd015ee83ad2391858c916bc0b6 /lib/scomint.el
parent6d8b7b48de4ca4b617d8fc5605c8d155585b5919 (diff)
Disable buffer truncation for now
Diffstat (limited to 'lib/scomint.el')
-rw-r--r--lib/scomint.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/scomint.el b/lib/scomint.el
index 6462872f..710709cd 100644
--- a/lib/scomint.el
+++ b/lib/scomint.el
@@ -256,6 +256,7 @@ NO-NEWLINE is non-nil."
(concat input (unless no-newline "\n"))))))))
+;; TODO: run this on a timer rather than on every I/O
(defun scomint-truncate-buffer (&optional string)
"Truncate the buffer to `scomint-buffer-maximum-size'."
(interactive)
@@ -313,7 +314,7 @@ NO-NEWLINE is non-nil."
;; Run these hooks with point where the user had it.
(goto-char saved-point)
(run-hook-with-args 'scomint-output-filter-functions string)
- (scomint-truncate-buffer)
+ ;; (scomint-truncate-buffer)
(set-marker saved-point (point))