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: Stefan Monnier
Subject: Re: org-mode and mode hooks.
Date: Tue, 07 Jun 2005 14:15:08 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> ! @strong{Warning:} Only use a address@hidden @var{mode} argument when
> ! you use @code{font-lock-add-keywords} or
> ! @code{font-lock-remove-keywords} in your @file{.emacs} file.  When you
> ! use these functions from a Lisp program (such as a minor mode), we
> ! recommend that you use @code{nil} for @var{mode} (and place the call
> ! on a hook) to avoid subtle problems due to the details of the
> ! implementation.
  
The intention with the above text was to make a non-nil argument
semi-obsolete, so that misfeatures related to them don't need to be fixed.
I for one won't touch this code and will fight against "fixes" that pollute
the rest of the font-lock code,


        Stefan




reply via email to

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