Merge branch 'master' of github.com:bbatsov/prelude

This commit is contained in:
Bozhidar Batsov 2014-09-18 18:06:33 +03:00
commit 5bc3ceb6d1

View file

@ -87,7 +87,8 @@
(eldoc-mode)
(setq-local electric-layout-rules
'((?: . (lambda ()
(if (python-info-statement-starts-block-p)
(and (zerop (first (syntax-ppss)))
(python-info-statement-starts-block-p)
'after)))))
(when (fboundp #'python-imenu-create-flat-index)
(setq-local imenu-create-index-function