diff options
author | Alan Mackenzie <acm@muc.de> | 2022-10-28 12:13:08 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2022-10-28 12:15:18 +0000 |
commit | f9ed80f9d0ac1cb157e4c0604cc39fd07e7f0842 (patch) | |
tree | 73be347924a347f97b0b72cd283b482cd89d2df3 /lisp/progmodes/cc-langs.el | |
parent | 879c65a5fca4b543806c9b854e8a5ac3a99e172f (diff) | |
download | emacs-f9ed80f9d0ac1cb157e4c0604cc39fd07e7f0842.tar.gz |
CC Mode: Fix wrong fontification of enum foo bar; in Objective C Mode
This fixes bug #58795 and bug #58796.
* lisp/progmodes/cc-langs.el (c-type-prefix-kwds): Add the missing entry for
objc.
Diffstat (limited to 'lisp/progmodes/cc-langs.el')
-rw-r--r-- | lisp/progmodes/cc-langs.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el index 6ccd6c30df9..fc3977967b5 100644 --- 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))) |