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:
dc358a7
)
el/dot-emacs.el: Emacs 22 doesn't have `whitespace-mode'.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 17 Dec 2009 17:51:05 +0000
(17:51 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 17 Dec 2009 17:53:51 +0000
(17:53 +0000)
So use `trap'.
el/dot-emacs.el
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index 0d0a7d760568ffd446c28d3ce3e603df974da585..6a7cf7078a10ef36589682a4e9a820f8324e31de 100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-681,6
+681,8
@@
(defun mdw-misc-mode-config ()
(auto-fill-mode 1)
(setq fill-column 77)
(setq show-trailing-whitespace t)
(auto-fill-mode 1)
(setq fill-column 77)
(setq show-trailing-whitespace t)
+ (let ((whitespace-style (remove 'trailing whitespace-style)))
+ (trap (whitespace-mode t)))
(and (fboundp 'gtags-mode)
(gtags-mode))
(outline-minor-mode t)
(and (fboundp 'gtags-mode)
(gtags-mode))
(outline-minor-mode t)