* Miles Bader (2005-03-28) writes:

> On Mon, 28 Mar 2005 10:00:55 +0200, Ralf Angeli <[EMAIL PROTECTED]> wrote:
>> 
>> Does this mean using an expression is the canonical way of referring
>> to faces in `font-lock-keywords' and using a symbol is only supported
>> for reasons of backward compatibility by faces with an associated
>> variable?
>
> No, it's just an expression -- for the standard font-lock faces there
> are variable names that are _exactly_ the same as the face names,
> which evaluate to the corresponding face name.

Yes, that was what I was referring to.  But as only the font-lock
faces and not the standard faces provide these variables, wouldn't it
make sense to encourage the use of expressions and deprecate the use
of symbols?

AUCTeX is using both a defface and a defvar for defining its faces as
well.  But if only expressions are used in `font-lock-keywords', I can
get rid of the defvars.

-- 
Ralf


_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to