diff options
author | Raúl Benencia <rul@kalgan.cc> | 2019-06-25 09:27:50 -0700 |
---|---|---|
committer | Raúl Benencia <rul@kalgan.cc> | 2019-06-25 09:27:50 -0700 |
commit | 57c8c34206457acc769f29427284a71ab5f1dda0 (patch) | |
tree | 65d758fad93ef09f97b179b38f111ac13959a293 | |
parent | d1289f9c2469662f31a7fd0bc23996f367d68790 (diff) |
Enable autopep8 on Python mode
-rw-r--r-- | .emacs | 1 | ||||
-rw-r--r-- | .emacs.local.d/modes/python.el | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -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) |