From 97dba610f8d4e9d02878dd7badc66171bf1e77c7 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Fri, 31 May 2019 13:47:08 +0800 Subject: [PATCH] Fix #180: Error for TRAMP python in doom-modeline-env. Check if the env command exists. --- doom-modeline-env.el | 1 + 1 file changed, 1 insertion(+) diff --git a/doom-modeline-env.el b/doom-modeline-env.el index e4a57c3..238efc1 100644 --- a/doom-modeline-env.el +++ b/doom-modeline-env.el @@ -60,6 +60,7 @@ Example: 'doom-modeline-env--ruby") "Update environment info on mode-line." (when (and doom-modeline-env-version doom-modeline-env--command + (executable-find doom-modeline-env--command) doom-modeline-env--command-args doom-modeline-env--parser) (let ((default-directory (doom-modeline-project-root))