From 53f4c485126eccf9666e8304ea09fd1f48193624 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 20 Oct 2014 16:47:44 -0700 Subject: [PATCH] add venv as virtualenv to look for when adding venvs to jedi. --- init.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/init.el b/init.el index 94cf72d2..5ec3c5ff 100644 --- a/init.el +++ b/init.el @@ -238,12 +238,11 @@ Return a list of installed packages or nil for every package not installed." (defun get-virtual-envs () (interactive) - (condition-case ex (let ((project-root (with-project-root (cdr project-details)))) (cl-remove-if-not 'file-exists-p (mapcar (lambda (env-suffix) (concat project-root env-suffix)) - '(".tox/py27/" "env")))) + '(".tox/py27/" "env" ".tox/venv/")))) ('error (message (format "Caught exception: [%s]" ex)) (setq retval (cons 'exception (list ex))))