summaryrefslogtreecommitdiff
path: root/lisp/comint.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2006-09-28 19:09:19 +0000
committerRichard M. Stallman <rms@gnu.org>2006-09-28 19:09:19 +0000
commitc207f52608e302492dc03b1e92fe8e7e6e05027f (patch)
treed1f360bb250154864e46d6e05d0d5c6e5ac9fb64 /lisp/comint.el
parent4f0f29aa95ecc423ade2c389e8b9b565845ae03c (diff)
downloademacs-c207f52608e302492dc03b1e92fe8e7e6e05027f.tar.gz
(comint-mode): Bind font-lock-defaults non-nil.
Diffstat (limited to 'lisp/comint.el')
-rw-r--r--lisp/comint.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index 5e223ef8f18..48b747065b5 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -650,7 +650,10 @@ Entry to this mode runs the hooks on `comint-mode-hook'."
(make-local-variable 'comint-process-echoes)
(make-local-variable 'comint-file-name-chars)
(make-local-variable 'comint-file-name-quote-list)
- (set (make-local-variable 'comint-accum-marker) (make-marker))
+ (make-local-variable 'comint-accum-marker)
+ (setq comint-accum-marker (make-marker))
+ (make-local-variable 'font-lock-defaults)
+ (setq font-lock-defaults '(nil))
(add-hook 'change-major-mode-hook 'font-lock-defontify nil t)
;; This behavior is not useful in comint buffers, and is annoying
(set (make-local-variable 'next-line-add-newlines) nil))