From: Alan Mackenzie Date: Fri, 28 Oct 2011 15:24:05 +0000 (+0000) Subject: Add and entry to ChangeLog. X-Git-Tag: emacs-pretest-24.0.91~34 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7e43cfa5ecbbd8886a334fe97b1bf3f8ea661e52;p=emacs.git Add and entry to ChangeLog. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4ac4419b163..1e0f5d0487a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,30 @@ +2011-10-28 Alan Mackenzie + + 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 * net/rcirc.el (rcirc-mode): Use hard newlines.