hi-lock-face-buffer

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


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

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

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.