From: Richard M. Stallman Date: Thu, 28 Sep 2006 19:09:19 +0000 (+0000) Subject: (comint-mode): Bind font-lock-defaults non-nil. X-Git-Tag: emacs-pretest-22.0.90~314 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c207f52608e302492dc03b1e92fe8e7e6e05027f;p=emacs.git (comint-mode): Bind font-lock-defaults non-nil. --- 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))