From d7997eed169686a3bc966fd4d6d7c68804e22eef Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Fri, 4 Sep 2009 16:41:32 +0000 Subject: Disable buffer truncation for now --- lib/scomint.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) -- cgit v1.2.3