[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Face specifications in font-lock-keywords (part II).
From: |
Lute Kamstra |
Subject: |
Face specifications in font-lock-keywords (part II). |
Date: |
Thu, 07 Apr 2005 12:35:01 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
I'm experimenting a bit with font-lock-keywords to test whether the
documentation is correct...
Consider these two types of elements of font-lock-keywords:
(MATCHER . FACESPEC)
(MATCHER . (SUBEXP FACESPEC))
and their use in combination with a fancy FACESPEC
(face FACE)
When I do (setq my-face '(face font-lock-builtin-face)), both types
work fine like this:
("oele" . my-face)
("oele" . (0 my-face))
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?
Lute.
- Face specifications in font-lock-keywords (part II).,
Lute Kamstra <=