Minor refactor, across the board

Do you see the board? Now look at the other side. That's how far this
refactor extends.

Yes.
This commit is contained in:
Henrik Lissner 2018-06-18 15:02:24 +02:00
parent f6c7c13634
commit ca2c8b5a45
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
10 changed files with 31 additions and 29 deletions

View file

@ -275,7 +275,7 @@ If INIT-FILE is non-nil, profile that instead of USER-INIT-FILE."
init-file
esup-server-port
esup-depth)
"--eval=(run-hooks 'after-init-hook 'emacs-startup-hook 'window-setup-hook)")))
"--eval=(doom|run-all-startup-hooks)")))
(when esup-run-as-batch-p
(setq process-args (append process-args '("--batch"))))
(setq esup-child-process (apply #'start-process process-args)))

View file

@ -232,7 +232,7 @@ live server (if one is found) to tell it to run this function.
If called from an interactive session, tries to reload autoloads files (if
necessary), reinistalize doom (via `doom-initialize') and reloads your private
init.el and config.el. Then runs `doom-reload-hook'."
(interactive)
(interactive "P")
(require 'core-dispatcher)
(cond ((and noninteractive (not (daemonp)))
(require 'server)