看看'highlight-regexp'.只需键入要更改面部的单词(尽管它可以是任何正则表达式).
M-x 强光正则表达式
highlight-regexp is an alias for `hi-lock-face-buffer' in
`hi-lock.el'.
It is bound to M-s h r.
(highlight-regexp regexp &optional face)
Set face of each match of regexp to face.
Interactively, prompt for regexp then face. Buffer-local history
list maintained for regexps, global history maintained for faces.
Use M-p to retrieve previous history items,
and M-n to retrieve default values.
Run Code Online (Sandbox Code Playgroud)