Function: hyrolo-or

hyrolo-or is a byte-compiled function defined in hyrolo-logic.el.

Signature

(hyrolo-or START END &rest PAT-LIST)

Documentation

Logical string <or> rolo entry filter between START and END positions.

PAT-LIST is a list of pattern elements. Each element may be t, nil, or a string.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hyrolo-logic.el
(defun hyrolo-or (start end &rest pat-list)
  "Logical string <or> rolo entry filter between START and END positions.
PAT-LIST is a list of pattern elements.  Each element may be t, nil, or a
string."
  (if (memq t pat-list)
      t
    (save-restriction
      (narrow-to-region start end)
      (let ((pat))
	(while (and pat-list
		    (or (null (setq pat (car pat-list)))
			(and (stringp pat)
			     (goto-char start)
			     (not (funcall hyrolo-next-match-function (regexp-quote pat))))))
	  (setq pat-list (cdr pat-list)))
	(if pat-list t nil)))))