diff options
-rw-r--r-- | lisp/progmodes/cc-engine.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el index 4916b1dabb8..6d7d322def7 100644 --- a/lisp/progmodes/cc-engine.el +++ b/lisp/progmodes/cc-engine.el @@ -10100,7 +10100,8 @@ This function might do hidden buffer changes." (throw 'at-decl-or-cast t))))) ;; CASE 18 - (when (and (not (memq context '(nil top))) + (when (and at-decl-end + (not (memq context '(nil top))) (or (and got-prefix (not got-number)) (and (eq context 'decl) (not c-recognize-paren-inits) |