Function: whitespace-color-off
whitespace-color-off is a byte-compiled function defined in
whitespace.el.gz.
Signature
(whitespace-color-off)
Documentation
Turn off color visualization.
Source Code
;; Defined in /usr/src/emacs/lisp/whitespace.el.gz
(defun whitespace-color-off ()
"Turn off color visualization."
;; turn off font lock
(kill-local-variable 'whitespace-point--used)
(when (whitespace-style-face-p)
(remove-hook 'post-command-hook #'whitespace-post-command-hook t)
(remove-hook 'before-change-functions #'whitespace-buffer-changed t)
(font-lock-remove-keywords nil whitespace-font-lock-keywords)
(font-lock-flush)))