chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
107702f
)
el/dot-emacs.el: `mdw-whitespace-mode' changes trailing visibility.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 30 Mar 2010 09:02:41 +0000
(10:02 +0100)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index 234fe55098d6f7ad3ba011549b2ebfe04ee8dbe3..c344a3101a232c210e0f7f33661dfd832ca3ca69 100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-705,7
+705,8
@@
(defun mdw-whitespace-mode (&optional arg)
(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