Richard Stallman wrote:
To clarify, this is how comint enables Font Lock:
(defcustom comint-mode-hook '(turn-on-font-lock)
Shouldn't we remove that? Is it a desirable thing, nowadays,
for some modes to enable Font Lock on their own, instead of letting
the user do so if he wants?
Unless Miles objects, I will install the following mini-patch to comint.el:
===File ~/comint-diff=======================================
*** comint.el 26 May 2005 09:05:21 -0500 1.319
--- comint.el 06 Jun 2005 20:01:06 -0500
***************
*** 423,429 ****
(make-obsolete-variable 'comint-use-prompt-regexp-instead-of-fields
'comint-use-prompt-regexp "22.1")
! (defcustom comint-mode-hook '(turn-on-font-lock)
"Hook run upon entry to `comint-mode'.
This is run before the process is cranked up."
:type 'hook
--- 423,429 ----
(make-obsolete-variable 'comint-use-prompt-regexp-instead-of-fields
'comint-use-prompt-regexp "22.1")
! (defcustom comint-mode-hook nil
"Hook run upon entry to `comint-mode'.
This is run before the process is cranked up."
:type 'hook
============================================================
_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel