reenabled whitespace-mode by default and made it a lot less intrusive

This commit is contained in:
Bozhidar Batsov 2012-12-23 11:24:55 +02:00
parent 61f53e6d06
commit 152546ff48
3 changed files with 12 additions and 8 deletions

View file

@ -115,11 +115,11 @@
(when prelude-guru
(guru-mode +1))
(when prelude-whitespace
;; keep the whitespace decent all the time (in this buffer)
(add-hook 'before-save-hook 'whitespace-cleanup nil t)
(whitespace-mode +1))
(prelude-local-comment-auto-fill)
(prelude-add-watchwords)
;; keep the whitespace decent all the time (in this buffer)
(add-hook 'before-save-hook 'whitespace-cleanup nil t))
(prelude-add-watchwords))
(setq prelude-prog-mode-hook 'prelude-prog-mode-defaults)