Function: hywiki-read-headline-regexp
hywiki-read-headline-regexp is a byte-compiled function defined in
hywiki.el.
Signature
(hywiki-read-headline-regexp OPERATION-NAME)
Documentation
Read (with consult if available) a headling matching regexp.
Use OPERATION-NAME in read prompt.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260822.1645/hywiki.el
(defun hywiki-read-headline-regexp (operation-name)
"Read (with consult if available) a headling matching regexp.
Use OPERATION-NAME in read prompt."
(if (hsys-consult-active-p)
;; Assume only .org files; adjust if later support .md markdown filex
(let ((hsys-consult-entry-regexp "^\\*+ "))
(substring-no-properties
(hsys-consult-get-exit-value
nil
#'hsys-consult-grep-headlines-with-prompt
#'hyrolo-consult-grep
(format "%s HyWiki section with matching headline"
operation-name)
nil
(list hywiki-directory))))
(read-regexp (format "%s HyWiki section with matching headline"
operation-name))))