help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Byte compilation warning on defface without defvar. Is this expected


From: Stefan Monnier
Subject: Re: Byte compilation warning on defface without defvar. Is this expected?
Date: Tue, 08 Apr 2025 09:24:24 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

>     (cons seed7-errinfo-values-regxp
>           (list 1 ''seed7-errinfo-value-face))

BTW, if you're surprised by this double quote, it's because of
a misfeature of font-lock-keywords: they're data that contains quoted
code, so you need a first quote to quote the face, and a second quote to
quote the resulting code.  🙁


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]