]> git.eshelyaron.com Git - emacs.git/commitdiff
*** empty log message ***
authorAlan Mackenzie <acm@muc.de>
Mon, 9 Apr 2007 10:46:15 +0000 (10:46 +0000)
committerAlan Mackenzie <acm@muc.de>
Mon, 9 Apr 2007 10:46:15 +0000 (10:46 +0000)
lisp/ChangeLog

index eb6ca22018090aca6ad0775acfe604c63c720b7b..c1b7c973cba6aa3d5e06fd3ed86acdf33d2b8f88 100644 (file)
@@ -1,3 +1,19 @@
+2007-04-09  Alan Mackenzie  <acm@muc.de>
+
+       Changes to make `narrow-to-defun' and `mark-defun' work properly
+       in CC Mode:
+       
+       * progmodes/cc-defs.el (c-beginning-of-defun-1):
+       * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
+       bind beginning/end-of-defun-function to nil around calls to
+       beginning/end-of-defun.
+
+       * progmodes/cc-langs.el (beginning-of-defun-function,
+       end-of-defun-function): new c-lang-setvar's.
+
+       * progmodes/cc-awk.el (c-awk-beginning-of-defun): Add "(or arg
+       (setq arg 1))" to enable non-interactive call.
+       
 2007-04-09  Eli Zaretskii  <eliz@gnu.org>
 
        * simple.el (set-mark-command): Doc fix.