Browse Source

Fix

master
10sr 5 years ago
parent
commit
be3f1990f0
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      emacs.el

+ 3
- 2
emacs.el View File

@@ -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


Loading…
Cancel
Save