Variable: highlight-changes-global-modes
highlight-changes-global-modes is a customizable variable defined in
hilit-chg.el.gz.
Value
t
Documentation
Determine whether a buffer is suitable for global Highlight Changes mode.
A function means call that function to decide: if it returns non-nil, the buffer is suitable.
A list means the elements are major modes suitable for Highlight
Changes mode, or a list whose first element is not followed by major
modes which are not suitable.
A value of t means the buffer is suitable if it is visiting a file and
its name does not begin with or *.
A value of nil means no buffers are suitable for global-highlight-changes-mode(var)/global-highlight-changes-mode(fun)
(effectively disabling the mode).
Example:
(c-mode c++-mode)
means that Highlight Changes mode is turned on for buffers in C and C++
modes only.
Source Code
;; Defined in /usr/src/emacs/lisp/hilit-chg.el.gz
(defcustom highlight-changes-global-modes t
"Determine whether a buffer is suitable for global Highlight Changes mode.
A function means call that function to decide: if it returns non-nil,
the buffer is suitable.
A list means the elements are major modes suitable for Highlight
Changes mode, or a list whose first element is `not' followed by major
modes which are not suitable.
A value of t means the buffer is suitable if it is visiting a file and
its name does not begin with ` ' or `*'.
A value of nil means no buffers are suitable for `global-highlight-changes-mode'
\(effectively disabling the mode).
Example:
(c-mode c++-mode)
means that Highlight Changes mode is turned on for buffers in C and C++
modes only."
:type '(choice
(const :tag "all non-special buffers visiting files" t)
(set :menu-tag "specific modes" :tag "modes"
:value (not)
(const :tag "All except these" not)
(repeat :tag "Modes" :inline t (symbol :tag "mode")))
(function :menu-tag "determined by function"
:value buffer-file-name)
(const :tag "none" nil)))