Variable: hi-lock-exclude-modes

hi-lock-exclude-modes is a customizable variable defined in hi-lock.el.gz.

Value

(rmail-mode mime/viewer-mode gnus-article-mode term-mode)

Documentation

List of major modes in which hi-lock will not run.

For security reasons since font lock patterns can specify function calls.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/hi-lock.el.gz
(defcustom hi-lock-exclude-modes
  '(rmail-mode mime/viewer-mode gnus-article-mode term-mode)
  "List of major modes in which hi-lock will not run.
For security reasons since font lock patterns can specify function
calls."
  :type '(repeat symbol)
  :group 'hi-lock)