Mercurial > emacs
comparison lisp/comint.el @ 47377:5ce6684c420c
(comint-mode): Add font-lock-defontify to change-major-mode-hook.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 10 Sep 2002 16:44:58 +0000 |
parents | 714225426f8e |
children | 0bf251ecfd1a |
comparison
equal
deleted
inserted
replaced
47376:05b10b9cd8bb | 47377:5ce6684c420c |
---|---|
505 (make-local-variable 'comint-ptyp) | 505 (make-local-variable 'comint-ptyp) |
506 (make-local-variable 'comint-process-echoes) | 506 (make-local-variable 'comint-process-echoes) |
507 (make-local-variable 'comint-file-name-chars) | 507 (make-local-variable 'comint-file-name-chars) |
508 (make-local-variable 'comint-file-name-quote-list) | 508 (make-local-variable 'comint-file-name-quote-list) |
509 (set (make-local-variable 'comint-accum-marker) (make-marker)) | 509 (set (make-local-variable 'comint-accum-marker) (make-marker)) |
510 (add-hook 'change-major-mode-hook 'font-lock-defontify nil t) | |
510 ;; This behavior is not useful in comint buffers, and is annoying | 511 ;; This behavior is not useful in comint buffers, and is annoying |
511 (set (make-local-variable 'next-line-add-newlines) nil)) | 512 (set (make-local-variable 'next-line-add-newlines) nil)) |
512 | 513 |
513 (if comint-mode-map | 514 (if comint-mode-map |
514 nil | 515 nil |