aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/cc-engine.el2
2 files changed, 1 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index fe1e4b25878..c74aef90b3c 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -134,11 +134,6 @@
134 134
135 * indent.el (indent-for-tab-command): Doc fix. 135 * indent.el (indent-for-tab-command): Doc fix.
136 136
1372010-03-22 Alan Mackenzie <acm@muc.de>
138
139 * progmodes/cc-engine.el (c-remove-stale-state-cache):
140 Fix off-by-one error. Fixes bug #5747.
141
1422010-03-22 Juanma Barranquero <lekktu@gmail.com> 1372010-03-22 Juanma Barranquero <lekktu@gmail.com>
143 138
144 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring. 139 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el
index 2d28d003fd5..f4a8c0bf46f 100644
--- a/lisp/progmodes/cc-engine.el
+++ b/lisp/progmodes/cc-engine.el
@@ -2624,7 +2624,7 @@ comment at the start of cc-engine.el for more info."
2624 (< (point-max) c-state-old-cpp-end))) 2624 (< (point-max) c-state-old-cpp-end)))
2625 (point-max) 2625 (point-max)
2626 (min (point-max) c-state-old-cpp-beg))) 2626 (min (point-max) c-state-old-cpp-beg)))
2627 (while (and c-state-cache (>= (c-state-cache-top-lparen) upper-lim)) 2627 (while (and c-state-cache (> (c-state-cache-top-lparen) upper-lim))
2628 (setq c-state-cache (cdr c-state-cache))) 2628 (setq c-state-cache (cdr c-state-cache)))
2629 ;; If `upper-lim' is inside the last recorded brace pair, remove its 2629 ;; If `upper-lim' is inside the last recorded brace pair, remove its
2630 ;; RBrace and indicate we'll need to search backwards for a previous 2630 ;; RBrace and indicate we'll need to search backwards for a previous