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))))
;; Bootstrap Doom
(setq noninteractive 'doom)
(load (expand-file-name "init" emacs-dir)
nil 'nomessage)
@ -68,6 +67,7 @@
((not args)
(error "Expecting a command"))
((let ((default-directory user-emacs-directory))
(setq argv nil)
(setq argv nil
noninteractive 'doom)
(doom-dispatch args)))))