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:
parent
50f0cebe92
commit
422baedad7
4 changed files with 18 additions and 17 deletions
|
@ -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))
|
||||
|
||||
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue