diff options
| author | Richard M. Stallman | 2006-09-28 19:09:19 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2006-09-28 19:09:19 +0000 |
| commit | c207f52608e302492dc03b1e92fe8e7e6e05027f (patch) | |
| tree | d1f360bb250154864e46d6e05d0d5c6e5ac9fb64 | |
| parent | 4f0f29aa95ecc423ade2c389e8b9b565845ae03c (diff) | |
| download | emacs-c207f52608e302492dc03b1e92fe8e7e6e05027f.tar.gz emacs-c207f52608e302492dc03b1e92fe8e7e6e05027f.zip | |
(comint-mode): Bind font-lock-defaults non-nil.
| -rw-r--r-- | lisp/comint.el | 5 |
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'." | |||
| 650 | (make-local-variable 'comint-process-echoes) | 650 | (make-local-variable 'comint-process-echoes) |
| 651 | (make-local-variable 'comint-file-name-chars) | 651 | (make-local-variable 'comint-file-name-chars) |
| 652 | (make-local-variable 'comint-file-name-quote-list) | 652 | (make-local-variable 'comint-file-name-quote-list) |
| 653 | (set (make-local-variable 'comint-accum-marker) (make-marker)) | 653 | (make-local-variable 'comint-accum-marker) |
| 654 | (setq comint-accum-marker (make-marker)) | ||
| 655 | (make-local-variable 'font-lock-defaults) | ||
| 656 | (setq font-lock-defaults '(nil)) | ||
| 654 | (add-hook 'change-major-mode-hook 'font-lock-defontify nil t) | 657 | (add-hook 'change-major-mode-hook 'font-lock-defontify nil t) |
| 655 | ;; This behavior is not useful in comint buffers, and is annoying | 658 | ;; This behavior is not useful in comint buffers, and is annoying |
| 656 | (set (make-local-variable 'next-line-add-newlines) nil)) | 659 | (set (make-local-variable 'next-line-add-newlines) nil)) |