changeset 77080:32c1980a1285

*** empty log message ***
author Alan Mackenzie <acm@muc.de>
date Mon, 09 Apr 2007 10:46:15 +0000
parents c3e98bc469ef
children e8bd3e011b64
files lisp/ChangeLog
diffstat 1 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Apr 09 09:19:18 2007 +0000
+++ b/lisp/ChangeLog	Mon Apr 09 10:46:15 2007 +0000
@@ -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.