Variable: global-whitespace-mode

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

Value

nil

Documentation

Non-nil if Global Whitespace mode is enabled.

See the global-whitespace-mode(var)/global-whitespace-mode(fun) command for a description of this minor mode. Setting this variable directly does not take effect; either customize it (see the info node (emacs)Easy Customization) or call the function global-whitespace-mode(var)/global-whitespace-mode(fun).

View in manual

Probably introduced at or before Emacs version 22.1.

Key Bindings

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)