Function: hyrolo-min-matched-level
hyrolo-min-matched-level is a byte-compiled function defined in
hyrolo.el.
Signature
(hyrolo-min-matched-level)
Documentation
Return the minimum HyRolo outline level within a single file of matches.
This must be 1 or greater.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hyrolo.el
(defun hyrolo-min-matched-level ()
"Return the minimum HyRolo outline level within a single file of matches.
This must be 1 or greater."
(save-excursion
(goto-char (point-min))
(let ((min-level 1000))
(when (looking-at outline-regexp)
(setq min-level (min min-level (funcall outline-level))))
(while (outline-next-heading)
(setq min-level (min min-level (funcall outline-level))))
(max min-level 1))))