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:00:28 -0700

thanks for confirming -- the right fix might be to purge those
reference, or add the equivalent of a defalias -- at present, the
somewhat random errors from jit-lock are very disruptive.

Daniel Martín writes:
 > "T.V Raman" <raman@google.com> writes:
 > 
 > > Background:
 > >
 > > There are times that I'm  seeing errors from jit-lock re
 > > font-lock-reference-face not being defined -- have seen it while
 > > working in elisp files, but dont have a reliable repro case.
 > >
 > > Doing  a recursive grep in the Emacs sources @HEAD, I see numerous
 > > references to font-lock-reference-face but I indeed dont see it
 > > defined anywhere. Confused ...
 > 
 > It was an obsolete alias since Emacs 20.3 and was removed by this
 > commit:
 > 
 > commit 107f832577123ea7ebe867cba55601d0142f546f
 > Author: Stefan Kangas <stefan@marxist.se>
 > Date:   Sun Jul 31 11:33:42 2022 +0200
 > 
 >     Delete additional items obsolete since 20, 21 and 22
 >     
 >     * lisp/font-lock.el (font-lock-reference-face): Delete variable
 >     alias obsolete since 20.3.
 >     * lisp/progmodes/cc-cmds.el (c-toggle-auto-state): Delete alias
 >     obsolete since 22.1.
 >     * lisp/replace.el (query-replace-regexp-eval): Delete function
 >     obsolete since 22.1.
 >     (replace-count, replace-re-search-function): Doc fixes; adjust for
 >     above deleted function.
 > 
 > 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.

-- 

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1  🦮

--

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1  🦮



reply via email to

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