Function: consult--highlight-literals
consult--highlight-literals is a byte-compiled function defined in
consult.el.
Signature
(consult--highlight-literals LITERALS IGNORE-CASE STR)
Documentation
Highlight list of LITERALS or single literal string in STR.
Case insensitive if IGNORE-CASE is non-nil.
Source Code
;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/consult.el
(defun consult--highlight-literals (literals ignore-case str)
"Highlight list of LITERALS or single literal string in STR.
Case insensitive if IGNORE-CASE is non-nil."
(consult--highlight-regexps (mapcar #'regexp-quote (ensure-list literals))
ignore-case str))