changeset 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 c9f70cf1d4c6
children 7fa84e297c84
files .elisp/settings/50.preferences.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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)