mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix conda python version detection in first buffer
Reported by @ztlevi
This commit is contained in:
@ -45,7 +45,7 @@
|
||||
(cond ((when python-shell-virtualenv-root
|
||||
(let ((bin (expand-file-name exe-root python-shell-virtualenv-root)))
|
||||
(if (file-exists-p bin) bin))))
|
||||
((when (bound-and-true-p conda-env-current-name)
|
||||
((when (require 'conda nil t)
|
||||
(let ((bin (expand-file-name (concat conda-env-current-name "/" exe-root)
|
||||
(conda-env-location))))
|
||||
(if (file-executable-p bin) bin))))
|
||||
|
Reference in New Issue
Block a user