bin/doom: fix doom run

This commit is contained in:
Henrik Lissner 2018-05-25 01:25:54 +02:00
parent a390ef8deb
commit 843c4d085f
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -56,7 +56,6 @@
(setq doom-auto-accept t)))) (setq doom-auto-accept t))))
;; Bootstrap Doom ;; Bootstrap Doom
(setq noninteractive 'doom)
(load (expand-file-name "init" emacs-dir) (load (expand-file-name "init" emacs-dir)
nil 'nomessage) nil 'nomessage)
@ -68,6 +67,7 @@
((not args) ((not args)
(error "Expecting a command")) (error "Expecting a command"))
((let ((default-directory user-emacs-directory)) ((let ((default-directory user-emacs-directory))
(setq argv nil) (setq argv nil
noninteractive 'doom)
(doom-dispatch args))))) (doom-dispatch args)))))