Commit cfab9f9b authored by Stefan Monnier's avatar Stefan Monnier

* whitespace.el (global-whitespace-newline-mode): Fix call

to minor mode which used nil accidentally to mean "turn off".

Fixes: debbugs:7810
parent 01d70c32
2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
* whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
to minor mode which used nil accidentally to mean "turn off".
2011-01-10 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-find-inline-compress)
......
......@@ -1188,7 +1188,8 @@ See also `whitespace-newline' and `whitespace-display-mappings'."
:global t
:group 'whitespace
(let ((whitespace-style '(newline-mark newline)))
(global-whitespace-mode global-whitespace-newline-mode)
(global-whitespace-mode (if global-whitespace-newline-mode
1 -1))
;; sync states (running a batch job)
(setq global-whitespace-newline-mode global-whitespace-mode)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment