hi-lock-exclude-modes

hi-lock-exclude-modes is a variable defined in `hi-lock.el'.
Its value is
(rmail-mode mime/viewer-mode gnus-article-mode)


Documentation:
List of major modes in which hi-lock will not run.
For security reasons since font lock patterns can specify function
calls.

You can customize this variable.