Function: cider-apropos-highlight
cider-apropos-highlight is a byte-compiled function defined in
cider-apropos.el.
Signature
(cider-apropos-highlight DOC QUERY)
Documentation
Return the DOC string propertized to highlight QUERY matches.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-apropos.el
(defun cider-apropos-highlight (doc query)
"Return the DOC string propertized to highlight QUERY matches."
(let ((pos 0))
(while (string-match query doc pos)
(setq pos (match-end 0))
(put-text-property (match-beginning 0)
(match-end 0)
'font-lock-face apropos-match-face doc)))
doc)