Function: global-whitespace-mode
global-whitespace-mode is an autoloaded, interactive and byte-compiled
function defined in whitespace.el.gz.
Signature
(global-whitespace-mode &optional ARG)
Documentation
Toggle Whitespace mode in all buffers.
With prefix ARG, enable Global Whitespace mode if ARG is positive; otherwise, disable it.
If called from Lisp, toggle the mode if ARG is toggle.
Enable the mode if ARG is nil, omitted, or is a positive number.
Disable the mode if ARG is a negative number.
Whitespace mode is enabled in all buffers where
whitespace-turn-on-if-enabled would do it.
See whitespace-mode(var)/whitespace-mode(fun) for more information on Whitespace mode.
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
:group 'whitespace)