Function: hsys-consult-grep-tags

hsys-consult-grep-tags is an interactive and byte-compiled function defined in hsys-consult.el.

Signature

(hsys-consult-grep-tags ORG-CONSULT-GREP-FUNCTION)

Documentation

When on an Org tag, call ORG-CONSULT-GREP-FUNCTION to find matches.

If on a colon, match to sections with all tags around point; otherwise, just match to the single tag around point.

The function determines the org files searched for matches and is given two arguments when called: a regexp of tags to match and a 0 max-count which finds all matches within headlines only.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hsys-consult.el
(defun hsys-consult-grep-tags (org-consult-grep-function)
  "When on an Org tag, call ORG-CONSULT-GREP-FUNCTION to find matches.
If on a colon, match to sections with all tags around point;
otherwise, just match to the single tag around point.

The function determines the org files searched for matches and is
given two arguments when called: a regexp of tags to match and a 0
max-count which finds all matches within headlines only."
  (interactive)
  (when (and hsys-consult-flag (hsys-org-at-tags-p))
    (funcall org-consult-grep-function (hsys-consult--org-grep-tags-string) 0)))