|
| From: | Stefan Monnier |
| Subject: | Re: Face specifications in font-lock-keywords (part II). |
| Date: | Thu, 07 Apr 2005 09:01:50 -0400 |
| User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> 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?
Check the value of font-lock-keywords in the buffer after turning font-lock
mode ON (font-lock "compiles" the keywords before using them. "compiles"
here only means use a canonical format which IIRC would be something like
("oele" (0 font-lock-builtin-face))).
Stefan
| [Prev in Thread] | Current Thread | [Next in Thread] |