Stefan Monnier <[EMAIL PROTECTED]> writes:

>> (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.

IMO, both of these are hard to understand at first sight.

I think (face FACE [PROP VAL]...) would be clearer.

-- 
Kim F. Storm <[EMAIL PROTECTED]> http://www.cua.dk


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to