emacs-devel
[Top][All Lists]
Advanced

[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: Tue, 31 May 2005 21:42:26 -0500 (CDT)

Richard Stallman wrote:

       The problem is that if you call these functions with `nil' for MODE,
       this sets up Font Lock for the current major mode, which could be an
       ancestor mode (it calls font-lock-set-defaults).

   I don't understand.  How can the current major mode "be" an ancestor
   mode?  Do you mean that the font-lock settings came from an ancestor
   mode?

With "current" major mode, I mean the value of `major-mode' when
font-lock-add-keywords is called.  That could be the parent mode or
even an earlier ancestor mode of the final major mode.

Sincerely,

Luc.





reply via email to

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