From 57c8c34206457acc769f29427284a71ab5f1dda0 Mon Sep 17 00:00:00 2001
From: Raúl Benencia <rul@kalgan.cc>
Date: Tue, 25 Jun 2019 09:27:50 -0700
Subject: Enable autopep8 on Python mode

---
 .emacs                         | 1 +
 .emacs.local.d/modes/python.el | 1 +
 2 files changed, 2 insertions(+)
 create mode 100644 .emacs.local.d/modes/python.el

diff --git a/.emacs b/.emacs
index e250c9c..a2aaa08 100644
--- a/.emacs
+++ b/.emacs
@@ -34,6 +34,7 @@
 (load-file "~/.emacs.local.d/modes/org.el")
 (load-file "~/.emacs.local.d/modes/package.el")
 (load-file "~/.emacs.local.d/modes/projectile.el")
+(load-file "~/.emacs.local.d/modes/python.el")
 (load-file "~/.emacs.local.d/modes/smex.el")
 (load-file "~/.emacs.local.d/modes/sml.el")
 (load-file "~/.emacs.local.d/modes/sublimity.el")
diff --git a/.emacs.local.d/modes/python.el b/.emacs.local.d/modes/python.el
new file mode 100644
index 0000000..3186c72
--- /dev/null
+++ b/.emacs.local.d/modes/python.el
@@ -0,0 +1 @@
+(add-hook 'python-mode-hook 'py-autopep8-enable-on-save)
-- 
cgit v1.2.3