mirror of
https://github.com/SqrtMinusOne/micromamba.el.git
synced 2025-12-10 13:23:02 +03:00
if w/o alternate -> when
This commit is contained in:
parent
443736121a
commit
4ae2caa892
1 changed files with 1 additions and 1 deletions
|
|
@ -355,7 +355,7 @@ This can be set by a buffer-local or project-local variable (e.g. a
|
||||||
((not (eql inferred-env nil)) (micromamba-env-name-to-dir inferred-env))
|
((not (eql inferred-env nil)) (micromamba-env-name-to-dir inferred-env))
|
||||||
(t nil))))
|
(t nil))))
|
||||||
|
|
||||||
(if (not (eql env-path nil))
|
(when (not (eql env-path nil))
|
||||||
(micromamba-activate env-path)
|
(micromamba-activate env-path)
|
||||||
(if micromamba-message-on-environment-switch
|
(if micromamba-message-on-environment-switch
|
||||||
(message "No Conda environment found for <%s>" (buffer-file-name))))))
|
(message "No Conda environment found for <%s>" (buffer-file-name))))))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue