changeset 73154:7efd5d5388ea

(comint-mode): Bind font-lock-defaults non-nil.
author Richard M. Stallman <rms@gnu.org>
date Thu, 28 Sep 2006 19:09:19 +0000
parents d18b30d3454b
children 1428588c2074
files lisp/comint.el
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/comint.el	Thu Sep 28 19:06:39 2006 +0000
+++ b/lisp/comint.el	Thu Sep 28 19:09:19 2006 +0000
@@ -650,7 +650,10 @@
   (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))