From 4ae2caa892aefed4b39888aa4b51ce637aa62842 Mon Sep 17 00:00:00 2001 From: claytharrison Date: Sat, 21 Dec 2024 19:03:32 +0100 Subject: [PATCH] if w/o alternate -> when --- micromamba.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/micromamba.el b/micromamba.el index 3003a2f..f1ddb24 100644 --- a/micromamba.el +++ b/micromamba.el @@ -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)) (t nil)))) - (if (not (eql env-path nil)) + (when (not (eql env-path nil)) (micromamba-activate env-path) (if micromamba-message-on-environment-switch (message "No Conda environment found for <%s>" (buffer-file-name))))))