aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Mackenzie <[email protected]>2012-01-18 13:39:32 +0000
committerAlan Mackenzie <[email protected]>2012-01-18 13:39:32 +0000
commit606c44c4cfea818143b9007754331dcf4fa06561 (patch)
tree72041a797c64819c23e09c0fc9dc4e9a38228c07
parent9657183b6f79dceb468bf70ce0980788dc3f0da7 (diff)
Update ChangeLog.
-rw-r--r--lisp/ChangeLog24
1 files changed, 24 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6ada090d07..0fea6a47b0 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,27 @@
+2012-01-18 Alan Mackenzie <[email protected]>
+
+ Eliminate sluggishness and hangs in fontification of "semicolon
+ deserts".
+
+ * progmodes/cc-engine.el (c-state-nonlit-pos-interval): change
+ value 10000 -> 3000.
+ (c-state-safe-place): Reformulate so it doesn't stack up an
+ infinite number of wrong entries in c-state-nonlit-pos-cache.
+ (c-determine-limit-get-base, c-determine-limit): New functions to
+ determine backward search limits disregarding literals.
+ (c-find-decl-spots): Amend commenting.
+ (c-cheap-inside-bracelist-p): New function which detects "={".
+
+ * progmodes/cc-fonts.el
+ (c-make-font-lock-BO-decl-search-function): Give a limit to a
+ backward search.
+ (c-font-lock-declarations): Fix an occurrence of point being
+ undefined. Check additionally for point being in a bracelist or
+ near a macro invocation without a semicolon so as to avoid a
+ fruitless time consuming search for a declarator. Give a more
+ precise search limit for declarators using the new
+ c-determine-limit.
+
2012-01-18 Glenn Morris <[email protected]>
* files.el (auto-mode-alist, inhibit-first-line-modes-regexps)