Mercurial > emacs
diff lisp/comint.el @ 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 | 81a55a7dc3c3 |
| children | 05d799bc0cda bb0e318b7c53 |
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))
