[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13917: 24.3.50; Elisp manual: Font Lock Mode
From: |
Lars Ingebrigtsen |
Subject: |
bug#13917: 24.3.50; Elisp manual: Font Lock Mode |
Date: |
Mon, 31 May 2021 08:40:42 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
>> However, a font lock entry of the type
>>
>> ,----
>> | (MATCHER . (face FACE PROP1 VAL1 PROP1 VAL2))
>> `----
>>
>> does not actually work. What works is any of the forms:
>>
>> ,----
>> | (MATCHER . (0 (face FACE PROP1 VAL1 PROP1 VAL2)))
>> | (MATCHER 0 (face FACE PROP1 VAL1 PROP1 VAL2))
>> | (MATCHER (0 (face FACE PROP1 VAL1 PROP1 VAL2)))
>> `----
>>
>> (Where the first two are of course equivalent).
>
> Hm... is this a bug in the documentation or the code, though? It seems
> like it would be logical for the described syntax to work, doesn't it?
Perhaps Stefan as an opinion; added to the CCs.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#13917: 24.3.50; Elisp manual: Font Lock Mode,
Lars Ingebrigtsen <=