From: Alan Mackenzie Date: Thu, 22 Sep 2016 09:56:55 +0000 (+0000) Subject: * lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): Fix coding error X-Git-Tag: emacs-26.0.90~1574 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0b6d8053eaeff2eb58472d28057425c63d24e880;p=emacs.git * lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): Fix coding error --- diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el index 9bd78fb821f..5a26c0f2770 100644 --- a/lisp/progmodes/cc-engine.el +++ b/lisp/progmodes/cc-engine.el @@ -8633,7 +8633,7 @@ comment at the start of cc-engine.el for more info." (when (and got-identifier (looking-at c-after-suffixed-type-decl-key) (or (eq context 'top) - (and eq context nil + (and (eq context nil) (match-beginning 1))) (if (and got-parens (not got-prefix)