From c01162b759a597bac6eff86d00c40bfecd1906be Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 22 May 2017 14:19:50 +0200 Subject: [PATCH] bin/doctor: feature check system-configuration-features --- bin/doctor | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/doctor b/bin/doctor index 0df003d61..43bea5262 100755 --- a/bin/doctor +++ b/bin/doctor @@ -76,7 +76,8 @@ (msg! "%s\nRunning Emacs v%s" (color 1 "DOOM Doctor") (color 1 emacs-version)) -(msg! "Compiled with:\n%s" (indented 2 (autofill system-configuration-features))) +(when (boundp 'system-configuration-features) + (msg! "Compiled with:\n%s" (indented 2 (autofill system-configuration-features)))) (msg! "uname -a:\n%s" (indented 2 (autofill (shell-command-to-string "uname -a")))) (msg! "----\n")