Function: completion-lazy-hilit

completion-lazy-hilit is a byte-compiled function defined in minibuffer.el.gz.

Signature

(completion-lazy-hilit STR)

Documentation

Return a copy of completion candidate STR that is face-propertized.

See documentation of the variable completion-lazy-hilit(var)/completion-lazy-hilit(fun) for more details.

Probably introduced at or before Emacs version 30.1.

Source Code

;; Defined in /usr/src/emacs/lisp/minibuffer.el.gz
(defun completion-lazy-hilit (str)
  "Return a copy of completion candidate STR that is `face'-propertized.
See documentation of the variable `completion-lazy-hilit' for more
details."
  (if (and completion-lazy-hilit completion-lazy-hilit-fn)
      (funcall completion-lazy-hilit-fn (copy-sequence str))
    str))