emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: font-lock-defaults-alist is obsolete but used


From: Juanma Barranquero
Subject: Re: font-lock-defaults-alist is obsolete but used
Date: Wed, 28 Mar 2007 22:10:00 +0200

On 3/28/07, Stefan Monnier <address@hidden> wrote:

To clear the misunderstanding, let me put it differently:
font-lock-defaults-alist is still *obeyed* by the current code (which is
why it's "obsolete" and not "removed"), but it is not *used* by the
current code.

Perhaps the trouble is that font-lock-mode's docstring doesn't stress
its obsolete status:

 See the variable `font-lock-defaults-alist' for the Font Lock mode default
 settings.  You can set your own default settings for some mode, by setting a
 buffer local value for `font-lock-defaults', via its mode hook.

and neither does font-lock-set-defaults':

 Sets various variables using `font-lock-defaults' (or, if nil, using
 `font-lock-defaults-alist') and `font-lock-maximum-decoration'.

            Juanma




reply via email to

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