From 16b7c58da9706d8a9c61e8e080bd882ec575fbac Mon Sep 17 00:00:00 2001 From: SteamedFish Date: Thu, 21 Feb 2019 23:22:04 +0800 Subject: [PATCH] use fboundp instead of string-match-p --- modules/tools/vterm/doctor.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/tools/vterm/doctor.el b/modules/tools/vterm/doctor.el index 8d9a04b33..8b9429d0c 100644 --- a/modules/tools/vterm/doctor.el +++ b/modules/tools/vterm/doctor.el @@ -9,5 +9,5 @@ (unless (executable-find "cmake") (warn! "Couldn't find cmake command. Please install it on your system")) -(unless (string-match-p "MODULES" system-configuration-features) - (error! "You have to compile emacs with MODULES support")) +(unless (fboundp 'module-load) + (warn! "You have to compile emacs with MODULES support"))