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

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

bug#51574: 27.2; Bad Lisp font-locking with `font-lock-type-face'


From: Lars Ingebrigtsen
Subject: bug#51574: 27.2; Bad Lisp font-locking with `font-lock-type-face'
Date: Tue, 20 Sep 2022 13:34:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> I guess it's this bit:
>
>          ;; ELisp and CLisp `&' keywords as types.
>          (,(concat "\\_<&" lisp-mode-symbol-regexp "\\_>")
>           . font-lock-type-face)
>
> Anybody have a suggestion here for a fix?

I've now fixed this for "foo\ &bar" and "foo\ :bar" (and other white
space).  I have not fixed "foo\&bar", because people shouldn't write
that and fontifying it "wrong" is fine.





reply via email to

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