mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-03-13 10:11:08 -07:00
refactor: s/when-let/when-let*/
The former is deprecated on Emacs 31 for the latter.
This commit is contained in:
parent
0b1de48daa
commit
4fe1cbeddb
70 changed files with 210 additions and 210 deletions
|
|
@ -16,7 +16,7 @@ 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 exe-root))
|
||||
((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))))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue