Variable: c-defun-tactic
c-defun-tactic is a customizable variable defined in cc-vars.el.gz.
Value
go-outward
Documentation
Whether functions are recognized inside, e.g., a class.
This is used by c-beginning-of-defun and like functions.
Its value is one of:
t -- Functions are recognized only at the top level.
go-outward -- Nested functions are also recognized. Should a function
command hit the beginning/end of a nested scope, it will
carry on at the less nested level.
This variable was added, or its default value changed, in Emacs 24.1.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-vars.el.gz
(defcustom c-defun-tactic 'go-outward
"Whether functions are recognized inside, e.g., a class.
This is used by `c-beginning-of-defun' and like functions.
Its value is one of:
t -- Functions are recognized only at the top level.
go-outward -- Nested functions are also recognized. Should a function
command hit the beginning/end of a nested scope, it will
carry on at the less nested level."
:version "24.1"
:type '(radio
(const :tag "Functions are at the top-level" t)
(const :tag "Functions are also recognized inside declaration scopes" go-outward))
:group 'c)