diff options
author | Alan Mackenzie <acm@muc.de> | 2022-10-25 13:28:57 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2022-10-25 13:30:45 +0000 |
commit | 1e1be54156108a25ba78ca4268af3113945d574e (patch) | |
tree | 0dfed8985557800f62139c4abd8c3176e309d79d /lisp/fileloop.el | |
parent | 5b90a718ee6674544f892aa572ff042c1ae2a21f (diff) | |
download | emacs-1e1be54156108a25ba78ca4268af3113945d574e.tar.gz emacs-1e1be54156108a25ba78ca4268af3113945d574e.tar.bz2 emacs-1e1be54156108a25ba78ca4268af3113945d574e.zip |
Test face name variables are bound before using them in cc-fonts.el
This fixes bug #58641.
Also, set c-reference-face-name to font-lock-constant face in preference to
c-label-face-name.
* lisp/progmodes/cc-fonts.el (c-preprocessor-face-name, c-label-face-name)
(c-constant-face-name, c-reference-face-name): Test variables with the same
name as font-lock faces are bound before accessing their values.
(c-reference-face-name): Use font-lock-constant face in preference to
c-label-face-name.
Diffstat (limited to 'lisp/fileloop.el')
0 files changed, 0 insertions, 0 deletions