Function: outline-xref
outline-xref is an autoloaded, interactive and byte-compiled function
defined in outline.el.gz.
Signature
(outline-xref)
Documentation
Navigate the current buffer's outline using Xref.
If outline-search-function is defined, it is used to find the outline
headings. Otherwise, the outline-regexp variable 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-xref ()
"Navigate the current buffer's outline using Xref.
If `outline-search-function' is defined, it is used to find the outline
headings. Otherwise, the `outline-regexp' variable is used."
(interactive)
(cond
(outline-search-function
(outline-xref--show-xrefs outline-search-function))
(outline-regexp
(outline-xref--show-xrefs #'outline-search-from-regexp))
(t
(user-error "Undefined outline search strategy"))))