Skip to content

Commit 66e33a8

Browse files
committed
Add --verbose when python-environment--verbose is t
1 parent 1739d62 commit 66e33a8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

python-environment.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@ https://github.com/tkf/emacs-python-environment/issues/3"
114114
(defun python-environment--make-with-runner (proc-runner root virtualenv)
115115
(let ((path (convert-standard-filename
116116
(python-environment-root-path root)))
117-
(virtualenv (or virtualenv python-environment-virtualenv)))
117+
(virtualenv (append (or virtualenv python-environment-virtualenv)
118+
(when python-environment--verbose
119+
(list "--verbose")))))
118120
(unless (executable-find (car virtualenv))
119121
(error "Program named %S does not exist." (car virtualenv)))
120122
(funcall proc-runner

0 commit comments

Comments
 (0)