aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/ChangeLog
diff options
context:
space:
mode:
authorAlan Mackenzie <[email protected]>2011-12-24 19:32:31 +0000
committerAlan Mackenzie <[email protected]>2011-12-24 19:32:31 +0000
commitbe8b11bb321086c7edfdcf4ac079d694e6a8b97b (patch)
treea2edb2d8feaa4b09d55988c2eeb8cb8df5e42480 /lisp/ChangeLog
parent3ba1a2ad82e1936f03b46b1db284945af806788b (diff)
Introduce a mechanism to widen the region used in context font locking.
Use this to protect declarations from losing their contexts.
Diffstat (limited to 'lisp/ChangeLog')
-rw-r--r--lisp/ChangeLog23
1 files changed, 23 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f8f8e7eb69..8c36847387 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,26 @@
+2011-12-24 Alan Mackenzie <[email protected]>
+
+ Introduce a mechanism to widen the region used in context font
+ locking. Use this to protect declarations from losing their
+ contexts.
+
+ * progmodes/cc-langs.el (c-before-font-lock-functions): replace
+ c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
+ (c-before-context-fontification-functions): new defvar, a list of
+ functions to be run just before context (etc.) font locking.
+
+ * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
+ new, functionality extracted from
+ c-neutralize-syntax-in-and-mark-CPP.
+ (c-in-after-change-fontification): new variable.
+ (c-after-change): Set c-in-after-change-fontification.
+ (c-set-fl-decl-start): Rejig its interface, so it can be called
+ from both after-change and context fontifying.
+ (c-change-set-fl-decl-start, c-context-set-fl-decl-start): new
+ functions.
+ (c-standard-font-lock-fontify-region-function): new variable.
+ (c-font-lock-fontify-region): new function.
+
2011-12-24 Juri Linkov <[email protected]>
* window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.