mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix +python-executable-find with absolute paths
This commit is contained in:
@ -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)))
|
||||
|
Reference in New Issue
Block a user