Browse Source

It breaks python-mode

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

+ 5
- 5
emacs.el View File

@@ -1138,11 +1138,11 @@ found, otherwise returns nil."
(define-key python-mode-map (kbd "C-m") 'newline-and-indent))

(when (autoload-eval-lazily 'pipenv)
(declare-function pipenv-projectile-after-switch-default "pipenv")
(add-hook 'python-mode-hook
(lambda ()
(pipenv-mode 1)
(pipenv-projectile-after-switch-default)))
;; (declare-function pipenv-projectile-after-switch-default "pipenv")
;; (add-hook 'python-mode-hook
;; (lambda ()
;; (pipenv-mode 1)
;; (pipenv-projectile-after-switch-default)))
)
(set-variable 'flycheck-python-pycompile-executable "python3")
(set-variable 'python-indent-guess-indent-offset nil)


Loading…
Cancel
Save