From: Mark Wooding Date: Tue, 30 Mar 2010 09:02:41 +0000 (+0100) Subject: el/dot-emacs.el: `mdw-whitespace-mode' changes trailing visibility. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/558fc01413d875fc8098108b3f8264b72d0b5f0d?ds=sidebyside el/dot-emacs.el: `mdw-whitespace-mode' changes trailing visibility. A one-stop shop for whitespace offences. --- diff --git a/el/dot-emacs.el b/el/dot-emacs.el index 234fe55..c344a31 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -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