Function: hyrolo-fgrep-file

hyrolo-fgrep-file is a byte-compiled function defined in hyrolo.el.

Signature

(hyrolo-fgrep-file HYROLO-FILE-OR-BUF STRING &optional MAX-MATCHES COUNT-ONLY HEADLINE-ONLY)

Documentation

Retrieve entries in HYROLO-FILE-OR-BUF matching STRING.

Retrieve a maximum of optional MAX-MATCHES.

Nil value of MAX-MATCHES means find all matches, t value means find all matches but omit file headers, negative values mean find up to the inverse of that number of entries and omit file headers. Optional COUNT-ONLY non-nil omits matching entry display. Optional HEADLINE-ONLY non-nil searches headlines only (first line of entries), rather than entire entries.

Return number of matching entries found.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hyrolo.el
(defun hyrolo-fgrep-file (hyrolo-file-or-buf string &optional max-matches count-only headline-only)
  "Retrieve entries in HYROLO-FILE-OR-BUF matching STRING.
Retrieve a maximum of optional MAX-MATCHES.

Nil value of MAX-MATCHES means find all matches, t value means
find all matches but omit file headers, negative values mean find
up to the inverse of that number of entries and omit file
headers.  Optional COUNT-ONLY non-nil omits matching entry
display.  Optional HEADLINE-ONLY non-nil searches headlines
only (first line of entries), rather than entire entries.

Return number of matching entries found."
  (hyrolo-grep-file hyrolo-file-or-buf (regexp-quote string) max-matches count-only headline-only))