projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
879c65a
)
CC Mode: Fix wrong fontification of enum foo bar; in Objective C Mode
author
Alan Mackenzie
<acm@muc.de>
Fri, 28 Oct 2022 12:13:08 +0000
(12:13 +0000)
committer
Alan Mackenzie
<acm@muc.de>
Fri, 28 Oct 2022 12:15:18 +0000
(12:15 +0000)
This fixes bug #58795 and bug #58796.
* lisp/progmodes/cc-langs.el (c-type-prefix-kwds): Add the missing entry for
objc.
lisp/progmodes/cc-langs.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cc-langs.el
b/lisp/progmodes/cc-langs.el
index 6ccd6c30df95b287447f093113d8bda26d73a23f..fc3977967b5a112cb43f86573ff13bff6a7ed8c5 100644
(file)
--- a/
lisp/progmodes/cc-langs.el
+++ b/
lisp/progmodes/cc-langs.el
@@
-2319,7
+2319,7
@@
Note that an alternative if the second part doesn't hold is
`c-type-list-kwds'. Keywords on this list are typically also present
on one of the `*-decl-kwds' lists."
t nil
-
c
'("struct" "union" "enum")
+
(c objc)
'("struct" "union" "enum")
c++ (append '("class" "typename")
(c-lang-const c-type-prefix-kwds c)))