Changes to make `narrow-to-defun' and `mark-defun' work properly in CC
authorAlan Mackenzie <acm@muc.de>
Mon, 9 Apr 2007 10:51:29 +0000 (10:51 +0000)
committerAlan Mackenzie <acm@muc.de>
Mon, 9 Apr 2007 10:51:29 +0000 (10:51 +0000)
commit28abe5e279255c2b19564bd662f87e978c79702d
tree7715e1f5d99b99f04cfe2664a08c580420d909f9
parent1eca8ae69b8c081af9c0ca12d292ea91929f5ed6
Changes to make `narrow-to-defun' and `mark-defun' work properly in CC
Mode:

cc-defs.el (c-beginning-of-defun-1):
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.

cc-langs.el (beginning-of-defun-function, end-of-defun-function): new
c-lang-setvar's.

cc-awk.el (c-awk-beginning-of-defun): Add "(or arg (setq arg 1))" to
enable non-interactive call.
lisp/progmodes/cc-awk.el
lisp/progmodes/cc-cmds.el
lisp/progmodes/cc-defs.el
lisp/progmodes/cc-langs.el