aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d/modes
diff options
context:
space:
mode:
authorRaúl Benencia <rul@kalgan.cc>2019-06-25 09:27:50 -0700
committerRaúl Benencia <rul@kalgan.cc>2019-06-25 09:27:50 -0700
commit57c8c34206457acc769f29427284a71ab5f1dda0 (patch)
tree65d758fad93ef09f97b179b38f111ac13959a293 /.emacs.local.d/modes
parentd1289f9c2469662f31a7fd0bc23996f367d68790 (diff)
Enable autopep8 on Python mode
Diffstat (limited to '.emacs.local.d/modes')
-rw-r--r--.emacs.local.d/modes/python.el1
1 files changed, 1 insertions, 0 deletions
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)
nihil fit ex nihilo