comparison .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
comparison
equal deleted inserted replaced
138:c9f70cf1d4c6 139:6b57bb47de2e
6 (setq-default indent-tabs-mode nil) 6 (setq-default indent-tabs-mode nil)
7 7
8 ;; Cleanup whitespace before saves. 8 ;; Cleanup whitespace before saves.
9 (add-hook 'before-save-hook '(lambda () 9 (add-hook 'before-save-hook '(lambda ()
10 (if af-cleanup-whitespace (whitespace-cleanup)))) 10 (if af-cleanup-whitespace (whitespace-cleanup))))
11 (setq whitespace-chars (quote (tabs spaces trailing lines newline empty)))
11 12
12 ;; Disable that startup screen 13 ;; Disable that startup screen
13 (setq inhibit-startup-message t) 14 (setq inhibit-startup-message t)
14 15
15 ;; Basically everything I do is in version control, stop saving backup files 16 ;; Basically everything I do is in version control, stop saving backup files