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?
Ah yes, now that you mention it: you could see them as equivalent. The problem is that the second form suggests that VAL1 is of the same type as VAL2 and VAL3, which is not the case. > Regarding the discrepancy, I'd suggest we use the first form since > it's a bit more explicit. Ok. Lute. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel