Cleanup whitespace before saving

This commit is contained in:
John Doty 2015-06-26 07:25:52 -07:00
parent 61b74b24f8
commit b4310dc3bc

View file

@ -240,6 +240,9 @@
;; We're going to stop doing ido and start doing helm, maybe? ;; We're going to stop doing ido and start doing helm, maybe?
(require 'ido) (require 'ido)
;; Cleanup all the whitespaces.
(add-hook 'before-save-hook 'whitespace-cleanup)
;; ================================================================= ;; =================================================================
;; Text mode configuration. ;; Text mode configuration.
;; ================================================================= ;; =================================================================