Function: outline-find-headings
outline-find-headings is an autoloaded, interactive and byte-compiled
function defined in outline.el.gz.
Signature
(outline-find-headings)
Documentation
Find all outline headings in the current buffer.
Display an Xref buffer with the outline headings found in the current buffer. You can use that Xref buffer to navigate and edit the outline.
If outline-search-function is non-nil, it is used to find the outline
headings. Otherwise, outline-regexp is used.
Probably introduced at or before Emacs version 32.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/outline.el.gz
;;;###autoload
(defun outline-find-headings ()
"Find all outline headings in the current buffer.
Display an Xref buffer with the outline headings found in the current
buffer. You can use that Xref buffer to navigate and edit the outline.
If `outline-search-function' is non-nil, it is used to find the outline
headings. Otherwise, `outline-regexp' is used."
(interactive)
(cond
(outline-search-function
(outline-find-headings--show-xrefs outline-search-function))
(outline-regexp
(outline-find-headings--show-xrefs #'outline-search-from-regexp))
(t
(user-error "Undefined outline search strategy"))))