[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: font-lock-reference-face no longer defined?
From: |
Stefan Monnier |
Subject: |
Re: font-lock-reference-face no longer defined? |
Date: |
Fri, 16 Sep 2022 14:51:43 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> File: lisp/progmodes/cperl-mode.el
> 6060 8 ;; font-lock-reference-face
> 6067 8 ;; font-lock-reference-face
Notice: inside a comment (and AFAIK that commented code doesn't actually
use that face, it just says what to do in case that face shows up).
> File: lisp/progmodes/cc-fonts.el
That's the CC-mode I was referring to.
> File: etc/themes/deeper-blue-theme.el
> 74 6 `(font-lock-reference-face ((,class (:foreground "LightCoral"))))
>
> File: etc/themes/whiteboard-theme.el
> 54 6 `(font-lock-reference-face ((,class (:foreground "salmon"))))
These two themes just define the face, i.e. say what to do in case some
third party uses it. Notice how `whiteboard-theme` also defines the
appearance of `realgud-*` faces, which aren't defined in Emacs.
We could remove those "references", but I see no urgency.
Stefan