aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/cc-engine.el5
2 files changed, 2 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c74aef90b3c..08483c3a61d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -282,11 +282,6 @@
282 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date 282 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
283 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004). 283 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
284 284
2852010-03-01 Alan Mackenzie <acm@muc.de>
286
287 * progmodes/cc-engine.el (c-remove-stale-state-cache):
288 Correct previous patch.
289
2902010-03-01 Kenichi Handa <handa@m17n.org> 2852010-03-01 Kenichi Handa <handa@m17n.org>
291 286
292 * language/burmese.el (burmese-composable-pattern): Rename from 287 * language/burmese.el (burmese-composable-pattern): Rename from
diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el
index f4a8c0bf46f..4797cd4a8ca 100644
--- a/lisp/progmodes/cc-engine.el
+++ b/lisp/progmodes/cc-engine.el
@@ -2591,7 +2591,7 @@ comment at the start of cc-engine.el for more info."
2591 (save-restriction 2591 (save-restriction
2592 (narrow-to-region 1 (point-max)) 2592 (narrow-to-region 1 (point-max))
2593 (save-excursion 2593 (save-excursion
2594 (let* ((in-macro-start ; start of macro containing (point-max) or nil. 2594 (let* ((in-macro-start ; point-max or beginning of macro containing it
2595 (save-excursion 2595 (save-excursion
2596 (goto-char (point-max)) 2596 (goto-char (point-max))
2597 (and (c-beginning-of-macro) 2597 (and (c-beginning-of-macro)
@@ -2642,8 +2642,7 @@ comment at the start of cc-engine.el for more info."
2642 ;; between `good-pos'/`good-pos-actual-macro-start' and (point-max), 2642 ;; between `good-pos'/`good-pos-actual-macro-start' and (point-max),
2643 ;; due to the interface spec to this function. 2643 ;; due to the interface spec to this function.
2644 (setq pos (if (and good-pos-actual-macro-end 2644 (setq pos (if (and good-pos-actual-macro-end
2645 (not (eq good-pos-actual-macro-start 2645 (> in-macro-start good-pos-actual-macro-start))
2646 in-macro-start)))
2647 (1+ good-pos-actual-macro-end) ; get outside the macro as 2646 (1+ good-pos-actual-macro-end) ; get outside the macro as
2648 ; marked by a `category' text property. 2647 ; marked by a `category' text property.
2649 good-pos)) 2648 good-pos))