From cf44c43f41d45147637133bfe6e1f932492f7eb6 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 7 Mar 2021 14:32:10 -0500 Subject: [PATCH] Simplify doctor's native JSON detection --- core/cli/doctor.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/cli/doctor.el b/core/cli/doctor.el index 4cc171a5d..773c14996 100644 --- a/core/cli/doctor.el +++ b/core/cli/doctor.el @@ -67,8 +67,7 @@ in." (when EMACS27+ (print! (start "Checking for great Emacs features...")) - (unless (and (functionp 'json-serialize) - (string-match-p "\\_" system-configuration-features)) + (unless (functionp 'json-serialize) (warn! "Emacs was not built with native JSON support") (explain! "Users will see a substantial performance gain by building Emacs with " "jansson support (i.e. a native JSON library), particularly LSP users. "