Function: allout-topic-flat-index

allout-topic-flat-index is a byte-compiled function defined in allout.el.gz.

Signature

(allout-topic-flat-index)

Documentation

Return a list indicating point's numeric section.subsect.subsubsect...

Outermost is first.

Source Code

;; Defined in /usr/src/emacs/lisp/allout.el.gz
;;;_    > allout-topic-flat-index ()
(defun allout-topic-flat-index ()
  "Return a list indicating point's numeric section.subsect.subsubsect...
Outermost is first."
  (let* ((depth (allout-depth))
	 (next-index (allout-sibling-index depth))
	 (rev-sibls nil))
    (while (> next-index 0)
      (setq rev-sibls (cons next-index rev-sibls))
      (setq depth (1- depth))
      (setq next-index (allout-sibling-index depth)))
    rev-sibls)
  )