From 17ad5594cf37e4630576645729034a0be2b2237a Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 4 Nov 2019 17:20:20 -0500 Subject: [PATCH] Don't force init in noninteractive sessions This allows batch scripts to load $EMACSDIR/init.el to use Doom's API. Howevever, it puts the onus on the user to run `doom refresh` before trying to use it. This also indirectly addresses #2010 --- init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.el b/init.el index d7591e773..a4c8c0a88 100644 --- a/init.el +++ b/init.el @@ -47,7 +47,7 @@ nil 'nomessage) ;; And let 'er rip! -(doom-initialize noninteractive) +(doom-initialize) (unless noninteractive (doom-initialize-core) (doom-initialize-modules)