Function: allout-current-depth
allout-current-depth is a byte-compiled function defined in
allout.el.gz.
Signature
(allout-current-depth)
Documentation
Return depth of visible topic most immediately containing point.
Return zero if point is not within any topic.
Source Code
;; Defined in /usr/src/emacs/lisp/allout.el.gz
;;;_ > allout-current-depth ()
(defun allout-current-depth ()
"Return depth of visible topic most immediately containing point.
Return zero if point is not within any topic."
(save-excursion
(if (allout-back-to-current-heading)
(max 1
(- allout-recent-prefix-end
allout-recent-prefix-beginning
allout-header-subtraction))
0)))