|
From: | Stefan Monnier |
Subject: | Re: Face specifications in font-lock-keywords. |
Date: | Wed, 06 Apr 2005 09:37:50 -0400 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> (I'm updating the node Search-based Fontification in the lisp manual.) > The lisp manual says that a FACESPEC can be a list of the form > (face FACE PROP1 VAL1 PROP2 VAL2...) > whereas the docstring of font-lock-keywords says that this can be a > list of the form: > (face VAL1 PROP2 VAL2 PROP3 VAL3 ...) > The latter is obviously wrong. But is the former correct? To me both are equivalent and correct. What's the problem exactly? Regarding the discrepancy, I'd suggest we use the first form since it's a bit more explicit. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |