aboutsummaryrefslogtreecommitdiffstats
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/init.el b/init.el
index 377e3d3..c0ec314 100644
--- a/init.el
+++ b/init.el
@@ -74,8 +74,9 @@
(require 'init-vscode-theme)
;; Utils
(require 'init-utils)
- ;; GUI
- (require 'init-gui)
+ ;; GUI (skip in batch mode)
+ (unless noninteractive
+ (require 'init-gui))
(require 'init-editing-utils)
(require 'init-diminish)
(require 'init-modeline)