Function: hywiki--get-all-references

hywiki--get-all-references is a byte-compiled function defined in hywiki.el.

Signature

(hywiki--get-all-references FUNCTION &optional START END)

Documentation

Apply FUNCTION to all highlighted HyWikiWord references in current buffer.

FUNCTION must take four arguments: (buffer-start-pos buffer-end-pos
'face hywiki-word-face). Optional START and END are sent to the function as
the first two arguments; otherwise, the entire buffer is scanned.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hywiki.el
(defun hywiki--get-all-references (function &optional start end)
  "Apply FUNCTION to all highlighted HyWikiWord references in current buffer.
FUNCTION must take four arguments: (buffer-start-pos buffer-end-pos
\\='face hywiki-word-face).  Optional START and END are sent to the function as
the first two arguments; otherwise, the entire buffer is scanned."
  (let ((refs (funcall function
		       (or start (point-min))
		       (or end (point-max))
		       'face hywiki-word-face)))
    (if (version< emacs-version "29")
	refs
      ;; Button/overlay ordering is reversed after Emacs 28
      (nreverse refs))))