[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master f9ed80f9d0: CC Mode: Fix wrong fontification of enum foo bar; in
From: |
Alan Mackenzie |
Subject: |
master f9ed80f9d0: CC Mode: Fix wrong fontification of enum foo bar; in Objective C Mode |
Date: |
Fri, 28 Oct 2022 08:15:41 -0400 (EDT) |
branch: master
commit f9ed80f9d0ac1cb157e4c0604cc39fd07e7f0842
Author: Alan Mackenzie <acm@muc.de>
Commit: Alan Mackenzie <acm@muc.de>
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.
---
lisp/progmodes/cc-langs.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el
index 6ccd6c30df..fc3977967b 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)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master f9ed80f9d0: CC Mode: Fix wrong fontification of enum foo bar; in Objective C Mode,
Alan Mackenzie <=