el/dot-emacs.el: `mdw-whitespace-mode' changes trailing visibility.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 30 Mar 2010 09:02:41 +0000 (10:02 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 30 Mar 2010 09:02:41 +0000 (10:02 +0100)
A one-stop shop for whitespace offences.

el/dot-emacs.el

index 234fe55..c344a31 100644 (file)
@@ -705,7 +705,8 @@ case."
   (when (and (boundp 'whitespace-style)
             (fboundp 'whitespace-mode))
     (let ((whitespace-style (remove 'trailing whitespace-style)))
-      (whitespace-mode arg))))
+      (whitespace-mode arg))
+    (setq show-trailing-whitespace whitespace-mode)))
 
 (defun mdw-misc-mode-config ()
   (and mdw-auto-indent