projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
884b68c
)
Java Mode: Fix fontification of variable decl inside `for'
author
Alan Mackenzie
<acm@muc.de>
Sun, 23 Feb 2020 12:41:20 +0000
(12:41 +0000)
committer
Alan Mackenzie
<acm@muc.de>
Sun, 23 Feb 2020 12:41:20 +0000
(12:41 +0000)
* lisp/progmodes/cc-engine.el (c-forward-declarator): In place of a test for
C++ Mode, test for either C++ Mode or Java Mode.
lisp/progmodes/cc-engine.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cc-engine.el
b/lisp/progmodes/cc-engine.el
index 447942e9a2af1a36af3dc5873da012ea4a9fae0d..bccef6890f87984cdaf482b7bb58dfdd6a06ab0d 100644
(file)
--- a/
lisp/progmodes/cc-engine.el
+++ b/
lisp/progmodes/cc-engine.el
@@
-9034,7
+9034,7
@@
point unchanged and return nil."
(if (looking-at c-:-op-cont-regexp)
(progn (goto-char (match-end 0)) t)
(not
- (and (c-major-mode-is '
c++-mode
)
+ (and (c-major-mode-is '
(c++-mode java-mode)
)
(save-excursion
(and
(c-go-up-list-backward)