Enable subword-mode in python-mode
This commit is contained in:
parent
2d46a71bcc
commit
3525aaa6f7
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@
|
||||||
|
|
||||||
(defun prelude-python-mode-defaults ()
|
(defun prelude-python-mode-defaults ()
|
||||||
"Defaults for Python programming."
|
"Defaults for Python programming."
|
||||||
|
(subword-mode +1)
|
||||||
(electric-indent-mode -1))
|
(electric-indent-mode -1))
|
||||||
|
|
||||||
(setq prelude-python-mode-hook 'prelude-python-mode-defaults)
|
(setq prelude-python-mode-hook 'prelude-python-mode-defaults)
|
||||||
|
|
Loading…
Reference in a new issue