|
@@ -1302,8 +1302,9 @@ found, otherwise returns nil." |
|
|
(with-eval-after-load 'python |
|
|
(with-eval-after-load 'python |
|
|
(defvar python-mode-map (make-sparse-keymap)) |
|
|
(defvar python-mode-map (make-sparse-keymap)) |
|
|
(define-key python-mode-map (kbd "C-m") 'newline-and-indent)) |
|
|
(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 |
|
|
(set-variable 'pydoc-command |
|
|
"python3 -m pydoc") |
|
|
"python3 -m pydoc") |
|
|
(with-eval-after-load 'pydoc |
|
|
(with-eval-after-load 'pydoc |
|
|