]> git.eshelyaron.com Git - emacs.git/commitdiff
Add and entry to ChangeLog.
authorAlan Mackenzie <acm@muc.de>
Fri, 28 Oct 2011 15:24:05 +0000 (15:24 +0000)
committerAlan Mackenzie <acm@muc.de>
Fri, 28 Oct 2011 15:24:05 +0000 (15:24 +0000)
lisp/ChangeLog

index 4ac4419b163fa0036662a714f4c70fb7bd2d07d8..1e0f5d0487a206dd8891a99ae04b984ead6dce3e 100644 (file)
@@ -1,3 +1,30 @@
+2011-10-28  Alan Mackenzie  <acm@muc.de>
+
+       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  <deniz@dogan.se>
 
        * net/rcirc.el (rcirc-mode): Use hard newlines.