[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Face specifications in font-lock-keywords (part II).
From: |
Lute Kamstra |
Subject: |
Re: Face specifications in font-lock-keywords (part II). |
Date: |
Thu, 07 Apr 2005 14:06:49 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
address@hidden (Kim F. Storm) writes:
> Lute Kamstra <address@hidden> writes:
>
>> However, using the fancy FACESPEC directly like this:
>>
>> ("oele" . '(face font-lock-builtin-face))
>> ("oele" . (0 '(face font-lock-builtin-face)))
>>
>> works only in the second case. Is this a bug?
>
> Does removing the quotes work?
>
> ("oele" . (face font-lock-builtin-face))
> ("oele" . (0 (face font-lock-builtin-face)))
No. (I tried.) I think that Font Lock evaluates FACESPEC and uses
the result. Maybe it doesn't parse font-lock-keywords correctly so
that it doesn't recognize a FACESPEC in this case:
("oele" . '(face font-lock-builtin-face))
Lute.