mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(comint-mode): Bind font-lock-defaults non-nil.
This commit is contained in:
parent
4f0f29aa95
commit
c207f52608
1 changed files with 4 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue