aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2017-09-05 12:30:12 -0400
committerRyan Kavanagh <rak@debian.org>2017-09-05 12:30:12 -0400
commit54a1224f844401ca1a7ec562f699d648e743a8b1 (patch)
tree7d97e988e206e4a2e808083986d9be36d18b4533
parentmore tex environments for auctex (diff)
cleanup whitespace before save in emacs
-rw-r--r--.emacs1
1 files changed, 1 insertions, 0 deletions
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