|
|
@ -81,6 +81,9 @@ |
|
|
'((?: . (lambda () |
|
|
'((?: . (lambda () |
|
|
(if (python-info-statement-starts-block-p) |
|
|
(if (python-info-statement-starts-block-p) |
|
|
'after))))) |
|
|
'after))))) |
|
|
|
|
|
(when (fboundp #'python-imenu-create-flat-index) |
|
|
|
|
|
(setq-local imenu-create-index-function |
|
|
|
|
|
#'python-imenu-create-flat-index)) |
|
|
(electric-layout-mode +1) |
|
|
(electric-layout-mode +1) |
|
|
(add-hook 'after-save-hook 'prelude-python-mode-set-encoding nil 'local)) |
|
|
(add-hook 'after-save-hook 'prelude-python-mode-set-encoding nil 'local)) |
|
|
|
|
|
|
|
|
|