mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(python): +python-executable-find ipython
+python-executable-find cannot find ipython since /bin/python is hardcoded instead of using the parameter
This commit is contained in:
committed by
Henrik Lissner
parent
52d1c208d4
commit
4a8f3bf033
@ -16,8 +16,8 @@ falling back on searching your PATH."
|
||||
(let ((bin (expand-file-name (concat conda-env-current-name "/" exe-root)
|
||||
(conda-env-default-location))))
|
||||
(if (file-executable-p bin) bin))))
|
||||
((when-let (bin (projectile-locate-dominating-file default-directory "bin/python"))
|
||||
(setq-local doom-modeline-python-executable (expand-file-name "bin/python" bin))))
|
||||
((when-let (bin (projectile-locate-dominating-file default-directory exe-root))
|
||||
(setq-local doom-modeline-python-executable (expand-file-name exe-root bin))))
|
||||
((executable-find exe))))))
|
||||
|
||||
;;;###autoload
|
||||
|
Reference in New Issue
Block a user