diff .elisp/settings/50.preferences.el @ 139:6b57bb47de2e

emacs settings: Fix whitespace cleanup to be slightly less invasive.
author Augie Fackler <durin42@gmail.com>
date Tue, 15 Sep 2009 20:32:27 -0400
parents 34b698771af9
children bf6b5a0dc1f3 b67c5a3b98f3
line wrap: on
line diff
--- a/.elisp/settings/50.preferences.el
+++ b/.elisp/settings/50.preferences.el
@@ -8,6 +8,7 @@
 ;; Cleanup whitespace before saves.
 (add-hook 'before-save-hook '(lambda ()
                                (if af-cleanup-whitespace (whitespace-cleanup))))
+(setq whitespace-chars (quote (tabs spaces trailing lines newline empty)))
 
 ;; Disable that startup screen
 (setq inhibit-startup-message t)