Fix +python-executable-find with absolute paths
This commit is contained in:
parent
e96205ed9f
commit
fbf4f78e8e
1 changed files with 2 additions and 1 deletions
|
@ -40,7 +40,8 @@
|
|||
(defun +python-executable-find (exe)
|
||||
"TODO"
|
||||
(if (file-name-absolute-p exe)
|
||||
(file-executable-p exe)
|
||||
(and (file-executable-p exe)
|
||||
exe)
|
||||
(let ((exe-root (format "bin/%s" exe)))
|
||||
(cond ((when python-shell-virtualenv-root
|
||||
(let ((bin (expand-file-name exe-root python-shell-virtualenv-root)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue