emacs-devel
[Top][All Lists]
Advanced

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

Re: font-lock-reference-face no longer defined?


From: T.V Raman
Subject: Re: font-lock-reference-face no longer defined?
Date: Fri, 16 Sep 2022 11:32:49 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:
For completeness:

After a git pull and running rgrep shows  a few more places:

-*- mode: rg; default-directory: "~/sourceforge/emacs/" -*-
rg started at Fri Sep 16 11:30:17

/home/raman/.cargo/bin/rg --color=always --colors=match:fg:red 
--colors=path:fg:magenta --colors=line:fg:green --colors=column:none -n 
--column --type-add=gyp\:\*.gyp --type-add=gyp\:\*.gypi -i --heading 
--no-config --type=elisp -e font-lock-reference-face

File: lisp/progmodes/cperl-mode.el
6060   8 ;;               font-lock-reference-face
6067   8 ;;               font-lock-reference-face

File: lisp/progmodes/cc-fonts.el
  32  19 ;;    Emacs), or `font-lock-reference-face'.
  40  36 ;;    `font-lock-builtin-face' or `font-lock-reference-face' in Emacs.
 102  21 (cc-bytecomp-defvar font-lock-reference-face) ; For Emacs 29
 117  24        ((and (c-face-name-p 'font-lock-reference-face)
 118  12              (eq font-lock-reference-face 'font-lock-reference-face))
 119   4         'font-lock-reference-face)
 137   4         'font-lock-reference-face)))
 148  29    (if (and (c-face-name-p 'font-lock-reference-face)
 149  10            (eq font-lock-reference-face 'font-lock-reference-face))
 153   9        'font-lock-reference-face

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

rg finished (16 matches found) at Fri Sep 16 11:30:17


>> It was an obsolete alias since Emacs 20.3 and was removed by this
>> commit:
> [...]
>> Code should use font-lock-constant-face instead.  I'm also confused
>> because I still see references to the old variable name in the Emacs
>> codebase.
>
> There was one reference left in `lisp/cedet/semantic/grammar.el` which
> I just fixed, the rest is all in CC-mode, which I'll leave to Alan.
>
>
>         Stefan
>

-- 

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
?7?4 Id: kg:/m/0285kf1  ?0?8



reply via email to

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