refactor(cli): load cli libs from doom.el

This simplifies the entry point for loading Doom (and/or its CLI
framework).
This commit is contained in:
Henrik Lissner 2022-08-07 18:50:42 +02:00
parent 50f0cebe92
commit 422baedad7
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
4 changed files with 18 additions and 17 deletions

View file

@ -353,6 +353,9 @@ Otherwise, `en/disable-command' (in novice.el.gz) is hardcoded to write them to
;; ...then load *the* one
(require 'doom-lib)
;; ...and in batch session, load our CLI framework
(when noninteractive
(require 'doom-cli-lib))
;;