hi-lock-face-phrase-buffer

hi-lock-face-phrase-buffer is an interactive autoloaded compiled Lisp function in `hi-lock.el'.


(hi-lock-face-phrase-buffer REGEXP &optional FACE)

Set face of each match of phrase REGEXP to FACE.
Interactively, prompt for REGEXP using `read-regexp', then FACE.
Use the global history list for FACE.

When called interactively, replace whitespace in user-provided
regexp with arbitrary whitespace, and make initial lower-case
letters case-insensitive, before highlighting with `hi-lock-set-pattern'.

Use Font lock mode, if enabled, to highlight REGEXP. Otherwise,
use overlays for highlighting. If overlays are used, the
highlighting will not update as you type.