From 0a062e74de49c225eef5ed496adf45f93158ec9c Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Thu, 8 Oct 2020 15:45:38 +0300 Subject: [PATCH] Improve the WSL check --- init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.el b/init.el index 7f61957..4d39900 100644 --- a/init.el +++ b/init.el @@ -123,7 +123,7 @@ by Prelude.") (require 'prelude-linux)) ;; WSL specific setting -(when (getenv "WSLENV") +(when (and (eq system-type 'gnu/linux) (getenv "WSLENV")) (require 'prelude-wsl)) ;; Windows specific settings