From 5a0657ed164b9a8a8822e21d9f8e032fd62e9045 Mon Sep 17 00:00:00 2001 From: Dan LaManna Date: Sun, 23 Feb 2020 14:18:54 -0500 Subject: [PATCH] lang/python: use error! instead of assert! --- modules/lang/python/doctor.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lang/python/doctor.el b/modules/lang/python/doctor.el index a711ca9ea..e4979e5ea 100644 --- a/modules/lang/python/doctor.el +++ b/modules/lang/python/doctor.el @@ -5,7 +5,7 @@ "This module requires (:tools lsp)") (if (not (executable-find "python")) - (assert! "Python isn't installed.") + (error! "Python isn't installed.") (unless (featurep! +lsp) (unless (zerop (shell-command "python -c 'import setuptools'")) (warn! "setuptools wasn't detected, which anaconda-mode requires"))))