Function: hsys-org-roam-consult-grep

hsys-org-roam-consult-grep is an autoloaded, interactive and byte-compiled function defined in hsys-org-roam.el.

Signature

(hsys-org-roam-consult-grep)

Documentation

Prompt for search terms and run consult grep over org-roam-directory.

Actual grep function used is given by the variable, consult-org-roam-grep-func.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hsys-org-roam.el
;;; ************************************************************************
;;; Public functions
;;; ************************************************************************

;;;###autoload
(defun hsys-org-roam-consult-grep ()
  "Prompt for search terms and run consult grep over `org-roam-directory'.
Actual grep function used is given by the variable,
`consult-org-roam-grep-func'."
  (interactive)
  (hypb:require-package 'consult-org-roam)
  (let ((grep-func (when (and (boundp 'consult-org-roam-grep-func)
			      (fboundp consult-org-roam-grep-func))
		     consult-org-roam-grep-func)))
    (if grep-func
	(funcall grep-func org-roam-directory)
      (error "(hsys-org-roam-consult-grep): `%s' is an invalid function"
	     consult-org-roam-grep-func))))