Turn on electric indent mode with python mode

This commit is contained in:
toctan 2014-08-20 16:07:55 +08:00
parent 563e29aa0c
commit 6283c1afd7

View file

@ -37,8 +37,7 @@
(defun prelude-python-mode-defaults () (defun prelude-python-mode-defaults ()
"Defaults for Python programming." "Defaults for Python programming."
(subword-mode +1) (subword-mode +1))
(electric-indent-mode -1))
(setq prelude-python-mode-hook 'prelude-python-mode-defaults) (setq prelude-python-mode-hook 'prelude-python-mode-defaults)