Function: hsys-consult-grep-headlines-with-prompt

hsys-consult-grep-headlines-with-prompt is a byte-compiled function defined in hsys-consult.el.

Signature

(hsys-consult-grep-headlines-with-prompt GREP-FUNCTION PROMPT &optional REGEXP)

Documentation

Call Hyperbole consult GREP-FUNCTION over headlines with PROMPT.

Optional REGEXP is the initial pattern for the grep. Suppress preview and return the selected "file:line:line-contents".

GREP-FUNCTION must take these arguments: regexp max-matches path-list prompt.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hsys-consult.el
(defun hsys-consult-grep-headlines-with-prompt (grep-function prompt
                                                &optional regexp)
  "Call Hyperbole consult GREP-FUNCTION over headlines with PROMPT.
Optional REGEXP is the initial pattern for the grep.
Suppress preview and return the selected \"file:line:line-contents\".

GREP-FUNCTION must take these arguments: regexp max-matches path-list
prompt."
  (let ((consult-preview-key nil))
    (funcall grep-function regexp 0 nil prompt)))