aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs1
-rw-r--r--.emacs.local.d/modes/python.el1
2 files changed, 2 insertions, 0 deletions
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)
nihil fit ex nihilo