aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/scomint.el
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2009-09-05 09:17:32 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2009-09-05 09:17:32 +0000
commit3fdb0399be6929187318a0b4f2a4c0c7061f2f6e (patch)
tree005262b49613d0d922217ed96ac1413fe4b4f3e7 /lib/scomint.el
parent9b48ef31aeaf14c9be09eac6800db95a5fa9dc51 (diff)
Missing declaration
Diffstat (limited to 'lib/scomint.el')
-rw-r--r--lib/scomint.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/scomint.el b/lib/scomint.el
index fd85cbe6..f185ffb1 100644
--- a/lib/scomint.el
+++ b/lib/scomint.el
@@ -32,6 +32,10 @@
SComint buffers are truncated from the top to be no greater than this number,
if non-nil.")
+(defvar scomint-output-filter-functions nil
+ "Functions to call after output is inserted into the buffer.")
+
+
(defvar scomint-mode-map
(let ((map (make-sparse-keymap)))
(define-key map "\C-m" 'scomint-send-input)
@@ -48,6 +52,7 @@ This is called after the process is cranked up. It is useful for things that
must be done each time a process is executed in a Comint mode buffer (e.g.,
`(process-kill-without-query)').")
+(put 'scomint-output-filter-functions 'permanent-local t)
(put 'scomint-mode 'mode-class 'special)