mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix +python-executable-find with absolute paths
This commit is contained in:
@ -40,7 +40,8 @@
|
|||||||
(defun +python-executable-find (exe)
|
(defun +python-executable-find (exe)
|
||||||
"TODO"
|
"TODO"
|
||||||
(if (file-name-absolute-p exe)
|
(if (file-name-absolute-p exe)
|
||||||
(file-executable-p exe)
|
(and (file-executable-p exe)
|
||||||
|
exe)
|
||||||
(let ((exe-root (format "bin/%s" exe)))
|
(let ((exe-root (format "bin/%s" exe)))
|
||||||
(cond ((when python-shell-virtualenv-root
|
(cond ((when python-shell-virtualenv-root
|
||||||
(let ((bin (expand-file-name exe-root python-shell-virtualenv-root)))
|
(let ((bin (expand-file-name exe-root python-shell-virtualenv-root)))
|
||||||
|
Reference in New Issue
Block a user