From d0c83ed563b68745109edaecdf05ddef620ff0f1 Mon Sep 17 00:00:00 2001 From: Maciej Szlosarczyk Date: Wed, 11 Oct 2017 16:18:51 +0300 Subject: [PATCH] Only load window purpose when you use GUI --- windows.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/windows.el b/windows.el index 3781e7f..e8a6aa8 100644 --- a/windows.el +++ b/windows.el @@ -55,5 +55,7 @@ (purpose-compile-user-configuration) ;; Load configuration by default -(purpose-load-window-layout "coding_with_magit") +(if (display-graphic-p) + (progn + (purpose-load-window-layout "coding_with_magit"))) ;;; windows.el ends here