Function: hywiki-page-read-reference
hywiki-page-read-reference is an interactive and byte-compiled
function defined in hywiki.el.
Signature
(hywiki-page-read-reference &optional PROMPT INITIAL)
Documentation
With consult package loaded, read a "page^@line" string, else a page name.
May return nil if no item is selected.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hywiki.el
(defun hywiki-page-read-reference (&optional prompt initial)
"With consult package loaded, read a \"page^@line\" string, else a page name.
May return nil if no item is selected."
(interactive)
(if (featurep 'consult)
(hywiki-format-grep-to-reference (hywiki-consult-page-and-headline
prompt
(hywiki-format-reference-to-consult-grep
initial)))
;; Without consult, can only complete to a HyWiki page without a section.
(hywiki-page-read prompt initial)))