Stefan Monnier <[EMAIL PROTECTED]> writes:

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

First case:

font-lock-keywords =>
(t
 (("oele" quote
   (face font-lock-builtin-face)))
 ("oele"
  (face font-lock-builtin-face)))

Second case:

font-lock-keywords =>
(t
 (("oele" 0
   '(face font-lock-builtin-face)))
 ("oele"
  (0
   '(face font-lock-builtin-face))))

Does that mean that Font Lock erroneously strips the quote in the
first case?

Lute.

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

Reply via email to