From 3a3c66df180299de2ad2b6e9d8a0a4f0dc272920 Mon Sep 17 00:00:00 2001 From: "Itai Y. Efrat" Date: Fri, 8 Apr 2022 12:39:05 +0300 Subject: [PATCH] docs: add doctor warning about lack of nativecomp --- core/cli/doctor.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/cli/doctor.el b/core/cli/doctor.el index 82ec8a098..fa5d556d8 100644 --- a/core/cli/doctor.el +++ b/core/cli/doctor.el @@ -102,6 +102,13 @@ in." "jansson support (i.e. a native JSON library), particularly LSP users. " "You must install a prebuilt Emacs binary with this included, or compile " "Emacs with the --with-json option.")) + (when EMACS28+ + (unless NATIVECOMP + (warn! "Emacs was not built with native compilation support") + (explain! "Users will see a substantial performance gain by building Emacs with " + "native compilation support, availible in emacs 28+." + "You must install a prebuilt Emacs binary with this included, or compile " + "Emacs with the --with-native-compilation option."))) (print! (start "Checking for private config conflicts...")) (let* ((xdg-dir (concat (or (getenv "XDG_CONFIG_HOME")