From c7cfa51f29c1a890bb3ed9017f7ecbd118b91d22 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Mon, 14 Jan 2019 02:05:29 +0800 Subject: [PATCH] Ignore errors while parsing env versions. --- doom-modeline-env.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doom-modeline-env.el b/doom-modeline-env.el index dfe2687..1243061 100644 --- a/doom-modeline-env.el +++ b/doom-modeline-env.el @@ -92,7 +92,8 @@ Example: (parser callback)) (set-process-filter proc (lambda (_proc line) - (funcall parser line))))) + (ignore-errors + (funcall parser line)))))) (provide 'doom-modeline-env)