Function: hyrolo--funcall-with-outline-regexp

hyrolo--funcall-with-outline-regexp is a byte-compiled function defined in hyrolo.el.

Signature

(hyrolo--funcall-with-outline-regexp FUNC)

Documentation

Call FUNC with outline-regexp temporarily set to support HyRolo file hdrs.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hyrolo.el
(defun hyrolo--funcall-with-outline-regexp (func)
  "Call FUNC with `outline-regexp' temporarily set to support HyRolo file hdrs."
  (let ((saved-outline-regexp outline-regexp))
    (unwind-protect
	(progn (setq outline-regexp hyrolo-hdr-and-entry-regexp)
	       (funcall func))
      (setq outline-regexp saved-outline-regexp))))