branch: main
commit fb68408996d24ccb20d4f2f351180eb19428cf6b
Author: Arash Esbati <[email protected]>
Commit: Arash Esbati <[email protected]>
Don't use obsolete `font-lock-reference-face'
* bib-cite.el (bib-cite-bibtex-font-lock-keywords): Use
`font-lock-constant-face' instead of `font-lock-reference-face'
which is obsolete since Emacs 24 and is finally removed in
Emacs 29.
---
bib-cite.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bib-cite.el b/bib-cite.el
index ec4f8968..ebcfbe63 100644
--- a/bib-cite.el
+++ b/bib-cite.el
@@ -820,7 +820,7 @@ runs `bib-find', and [mouse-3] runs `bib-display'."
bib-cite-bibtex-font-lock-keywords
'(("^\\( \\|\t\\)*\\(@[A-Za-z]+\\)[
\t]*[({]\\([][A-Za-z0-9.:;?!`'()/*@_+=|<>-]+\\)?"
(2 font-lock-function-name-face)
- (3 font-lock-reference-face nil t))
+ (3 font-lock-constant-face nil t))
;; reference type and reference label
("^[ \t]*\\(OPT[^\"#%'(),={} \t\n0-9][^\"#%'(),={} \t\n]*\\)[ \t]*="
1 font-lock-comment-face)