|
|
@@ -1302,8 +1302,9 @@ found, otherwise returns nil." |
|
|
|
(with-eval-after-load 'python |
|
|
|
(defvar python-mode-map (make-sparse-keymap)) |
|
|
|
(define-key python-mode-map (kbd "C-m") 'newline-and-indent)) |
|
|
|
(set-variable 'py-indent-list-style |
|
|
|
'one-level-to-beginning-of-statement) |
|
|
|
;; I want to use this, but this breaks normal self-insert-command |
|
|
|
;; (set-variable 'py-indent-list-style |
|
|
|
;; 'one-level-to-beginning-of-statement) |
|
|
|
(set-variable 'pydoc-command |
|
|
|
"python3 -m pydoc") |
|
|
|
(with-eval-after-load 'pydoc |
|
|
|