From 149ca014a0c18a989ba418e2d46c9db6f89ad312 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 25 Aug 2018 13:34:18 +0200 Subject: [PATCH] [Init] Activate projectile on Cygwin, but not on Windows --- init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index e3ff66f..caf5b26 100644 --- a/init.el +++ b/init.el @@ -117,9 +117,11 @@ (with-demoted-errors "Cannot activate mode: %s" (funcall mode +1))) + (unless (eq system-name 'windows-nt) + (projectile-mode +1)) + (unless on-windows (with-demoted-errors "Error: %s" - (projectile-mode +1) (pdf-tools-install))) ;; Global Hooks