aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Mackenzie <[email protected]>2011-10-28 15:24:05 +0000
committerAlan Mackenzie <[email protected]>2011-10-28 15:24:05 +0000
commit7e43cfa5ecbbd8886a334fe97b1bf3f8ea661e52 (patch)
treee5355e0f42669e23336e397ddb3babb349ef6445
parente376ea4f737a9230a9767a12bdcc530da4b4da87 (diff)
Add and entry to ChangeLog.
-rw-r--r--lisp/ChangeLog27
1 files changed, 27 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4ac4419b16..1e0f5d0487 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,30 @@
+2011-10-28 Alan Mackenzie <[email protected]>
+
+ Amend the handling of c-beginning/end-of-defun in nested declaration
+ scopes.
+
+ * cc-vars.el (c-defun-tactic): Move here from cc-langs.el. Change it to a
+ defcustom.
+
+ * cc-mode.texi (Movement Commands): Document `c-defun-tactic'. Document
+ the new handling of nested scopes for movement by defuns.
+
+ * cc-langs.el (c-defun-tactic): Move this variable to cc-vars.el.
+ (c-nonlabel-token-2-key): New variable for change in cc-engine.el.
+
+ * cc-engine.el (c-beginning-of-statement-1): Prevent "class foo : bar"
+ being spuriously recognized as a label.
+
+ * cc-cmds.el (c-narrow-to-most-enclosing-decl-block): Add parameter
+ `inclusive' (to include enclosing braces in the region).
+ (c-widen-to-enclosing-decl-scope): New function.
+ (c-while-widening-to-decl-block): New macro.
+ (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
+ outward for defun boundaries, and correspondingly change symbol
+ `respect-enclosure' to `go-outward'.
+ (c-declaration-limits): Change algorithm to report only the "innermost"
+ defun's boundaries.
+
2011-10-28 Deniz Dogan <[email protected]>
* net/rcirc.el (rcirc-mode): Use hard newlines.