Simplify doctor's native JSON detection
This commit is contained in:
parent
f0d601d2ac
commit
cf44c43f41
1 changed files with 1 additions and 2 deletions
|
@ -67,8 +67,7 @@ in."
|
||||||
|
|
||||||
(when EMACS27+
|
(when EMACS27+
|
||||||
(print! (start "Checking for great Emacs features..."))
|
(print! (start "Checking for great Emacs features..."))
|
||||||
(unless (and (functionp 'json-serialize)
|
(unless (functionp 'json-serialize)
|
||||||
(string-match-p "\\_<JSON\\_>" system-configuration-features))
|
|
||||||
(warn! "Emacs was not built with native JSON support")
|
(warn! "Emacs was not built with native JSON support")
|
||||||
(explain! "Users will see a substantial performance gain by building Emacs with "
|
(explain! "Users will see a substantial performance gain by building Emacs with "
|
||||||
"jansson support (i.e. a native JSON library), particularly LSP users. "
|
"jansson support (i.e. a native JSON library), particularly LSP users. "
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue