Function: outline-xref--show-xrefs

outline-xref--show-xrefs is a byte-compiled function defined in outline.el.gz.

Signature

(outline-xref--show-xrefs SEARCH-FUNCTION)

Documentation

Display search results in an Xref buffer.

Populate an Xref buffer with the matches returned by SEARCH-FUNCTION applied to the current buffer.

Source Code

;; Defined in /usr/src/emacs/lisp/outline.el.gz
(defun outline-xref--show-xrefs (search-function)
  "Display search results in an Xref buffer.
Populate an Xref buffer with the matches returned by SEARCH-FUNCTION
applied to the current buffer."
  (let ((buf (current-buffer)))
    (xref-show-xrefs
     (lambda ()
       (outline-xref--fetch-headings search-function buf))
     nil)))