branch: externals/caml
commit bcceb79beb014b975da213acd3771eb133ec06ef
Author: Didier Rémy <[email protected]>
Commit: Didier Rémy <[email protected]>
fixes bug 0005016
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10316
f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
---
inf-caml.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/inf-caml.el b/inf-caml.el
index f2291f9..13b60b5 100644
--- a/inf-caml.el
+++ b/inf-caml.el
@@ -94,8 +94,9 @@ be sent from another buffer in Caml mode.
(if (string-match "[^ ]" s) (setq inferior-caml-output t)))
(defun inferior-caml-mode-output-hook ()
- (setq comint-output-filter-functions
- (list (function inferior-caml-signal-output))))
+ (set-variable comint-output-filter-functions
+ (list (function inferior-caml-signal-output))
+ t))
(add-hook 'inferior-caml-mode-hooks 'inferior-caml-mode-output-hook)
;; To launch ocaml whenever needed