Function: orderless-highlight-matches
orderless-highlight-matches is a natively compiled function defined in
orderless.el.
Signature
(orderless-highlight-matches REGEXPS STRINGS)
Documentation
Highlight a match of each of the REGEXPS in each of the STRINGS.
Warning: only use this if you know all REGEXPs match all STRINGS!
For the user's convenience, if REGEXPS is a string, it is
converted to a list of regexps according to the value of
orderless-matching-styles.
Source Code
;; Defined in /nix/store/x8591dlnsvch2j4brlxddqs0axxy3w60-emacs-packages-deps/share/emacs/site-lisp/elpa/orderless-20260927.2344/orderless.el
(defun orderless-highlight-matches (regexps strings)
"Highlight a match of each of the REGEXPS in each of the STRINGS.
Warning: only use this if you know all REGEXPs match all STRINGS!
For the user's convenience, if REGEXPS is a string, it is
converted to a list of regexps according to the value of
`orderless-matching-styles'."
(when (stringp regexps)
(setq regexps (cdr (orderless-compile regexps))))
(cl-loop with ignore-case = (orderless--ignore-case-p regexps)
for str in strings
collect (orderless--highlight regexps ignore-case (substring str))))