From: Alan Mackenzie Date: Mon, 12 Apr 2010 14:55:18 +0000 (+0000) Subject: Reverse 2010-03-01T11:31:42Z!acm@muc.de: "Fix bug #5649: 23.1.92; Indentation problem... X-Git-Tag: emacs-pretest-23.1.96~30^2~3 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a1c7301e3195f11f5544288228d53e82f4caeda8;p=emacs.git Reverse 2010-03-01T11:31:42Z!acm@muc.de: "Fix bug #5649: 23.1.92; Indentation problems in C mode.". --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 08483c3a61d..cf685114cde 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -293,11 +293,6 @@ (otf-script-alist): Likewise. (setup-default-fontset): Likewise. Re-fix :otf spec. -2010-03-01 Alan Mackenzie - - * cc-engine.el (c-remove-stale-state-cache): Take account of when - `good-pos' is in the same macro as `here'. Fixes bug#5649. - 2010-02-28 Katsumi Yamaoka * menu-bar.el (menu-bar-manuals-menu): Fix typo. diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el index 4797cd4a8ca..336e2c39262 100644 --- a/lisp/progmodes/cc-engine.el +++ b/lisp/progmodes/cc-engine.el @@ -2641,8 +2641,7 @@ comment at the start of cc-engine.el for more info." ;; (car c-state-cache). There can be no open parens/braces/brackets ;; between `good-pos'/`good-pos-actual-macro-start' and (point-max), ;; due to the interface spec to this function. - (setq pos (if (and good-pos-actual-macro-end - (> in-macro-start good-pos-actual-macro-start)) + (setq pos (if good-pos-actual-macro-end (1+ good-pos-actual-macro-end) ; get outside the macro as ; marked by a `category' text property. good-pos))