Variable: combobulate-beginning-of-defun-behavior
combobulate-beginning-of-defun-behavior is a customizable variable
defined in combobulate-settings.el.
Value
parent
Documentation
Control the behavior of the beginning of defun command.
Use parent and Combobulate will look at the nearest defun to
which it belongs and only visit its immediate parent.
Use root and Combobulate will instead attempt to find the defun
most closes to the root of the tree -- i.e., a defun that itself
has no defun parents.
Use self-and-sibling-first and Combobulate will instead first go to
the beginning of defun point is in, before cycling through
sibling defuns of the point's defun before moving up to its
parent, and so on, until it reaches the root.
Use linear and Combobulate will simply move to the first defun
it finds, regardless of hierarchy.
Source Code
;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-settings.el
(defcustom combobulate-beginning-of-defun-behavior 'parent
"Control the behavior of the beginning of defun command.
Use `parent' and Combobulate will look at the nearest defun to
which it belongs and only visit its immediate parent.
Use `root' and Combobulate will instead attempt to find the defun
most closes to the root of the tree -- i.e., a defun that itself
has no defun parents.
Use `self-and-sibling-first' and Combobulate will instead first go to
the beginning of defun point is in, before cycling through
sibling defuns of the point's defun before moving up to its
parent, and so on, until it reaches the root.
Use `linear' and Combobulate will simply move to the first defun
it finds, regardless of hierarchy."
:group 'combobulate
:type '(choice
(const :tag "Parent" parent)
(const :tag "Root" root)
(const :tag "Self and Sibling First" self-and-sibling-first)
(const :tag "Linear" linear)))