Browse Source

Add pydoc advice

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

+ 4
- 0
emacs.el View File

@@ -1305,6 +1305,10 @@ found, otherwise returns nil."
'one-level-to-beginning-of-statement) '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
(when (require 'with-venv nil t)
(with-venv-advice-add 'pydoc)))



(when (autoload-eval-lazily 'pipenv) (when (autoload-eval-lazily 'pipenv)
;; (declare-function pipenv-projectile-after-switch-default "pipenv") ;; (declare-function pipenv-projectile-after-switch-default "pipenv")


Loading…
Cancel
Save