mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
cli/doctor: fix native json detection
This commit is contained in:
@ -62,7 +62,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 (and (functionp 'json-serialize)
|
||||||
(string-match-p "\\<_JSON\\_>" system-configuration-features))
|
(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. "
|
||||||
|
Reference in New Issue
Block a user