From 94567d89fa2e8e15c8705367551ffd832211e67f Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Fri, 7 Feb 2020 17:22:00 -0500 Subject: [PATCH] Activate pyvenv after init --- emacs/init.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs/init.org b/emacs/init.org index 20893ff..4e3a4b3 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -2407,7 +2407,7 @@ Support pyvenv within Emacs: (use-package pyvenv :commands (pyvenv-mode pyvenv-workon pyvenv-activate) :init - (add-hook 'python-mode-hook #'pyvenv-mode)) + (add-hook 'after-init-hook #'pyvenv-mode)) (defun eshell/workon (name) (pyvenv-workon name))