[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: org-mode and mode hooks.

From: Luc Teirlinck
Subject: Re: org-mode and mode hooks.
Date: Fri, 27 May 2005 14:43:45 -0500 (CDT)

To clarify, this is how comint enables Font Lock:

(defcustom comint-mode-hook '(turn-on-font-lock)

Without delay-mode-hooks, this is executed at the end of the call to
comint-mode.  With delay-mode-hooks, it is run during the call to
run-mode-hooks, just before your own hook.  Note that a user can
customize comint-mode-hook and remove the enabling of font-lock-mode.

I did check that comint-mode does not load font-lock, so it only uses
font-lock for font-lock-face.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]