From 54a1224f844401ca1a7ec562f699d648e743a8b1 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Tue, 5 Sep 2017 12:30:12 -0400 Subject: cleanup whitespace before save in emacs --- .emacs | 1 + 1 file changed, 1 insertion(+) diff --git a/.emacs b/.emacs index c76f031..8277efc 100644 --- a/.emacs +++ b/.emacs @@ -122,6 +122,7 @@ (setq elpy-rpc-python-command "python3")) +(add-hook 'before-save-hook 'whitespace-cleanup) ;;;; AUTO FILL ; We want auto-fill enabled for all text modes -- cgit v1.2.3