Variable: global-whitespace-mode-hook

global-whitespace-mode-hook is a customizable variable defined in whitespace.el.gz.

Value

nil

Documentation

Hook run after entering or leaving global-whitespace-mode(var)/global-whitespace-mode(fun).

No problems result if this variable is not bound. add-hook automatically binds it. (This is true for all hook variables.)

Source Code

;; Defined in /usr/src/emacs/lisp/whitespace.el.gz
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; User commands - Global mode


;;;###autoload
(define-globalized-minor-mode global-whitespace-mode
  whitespace-mode
  whitespace-turn-on-if-enabled
  :init-value nil
  :group 'whitespace)