[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Advising in cc-awk.el and namespace
From: |
Martin Stjernholm |
Subject: |
Re: Advising in cc-awk.el and namespace |
Date: |
Wed, 16 Jul 2003 21:34:46 +0200 |
User-agent: |
Gnus/5.090016 (Oort Gnus v0.16) Emacs/20.7 (gnu/linux) |
"Stefan Monnier" <monnier+gnu/emacs/address@hidden> wrote:
> PS: By the way, the comment in cc-fonts.el that says:
>
> ;; `c-invalid-face-name' is used. Since font-lock in Emacs expands
> ;; all face names in `font-lock-keywords' as variables we need to have
> ;; a variable for it that resolves to its own name.
>
> is wrong. It's just that font-lock-keywords specify expressions
> (which are passed to `eval') so if you want to specify a face rather
> than a variable containing a face you just need to quote the face name.
Thanks for the clarification. The reason for that was to cope with
XEmacs which doesn't evaluate it the same way. But I now noticed that
it too can handle an extra quotation correctly.