doom/reload: fix server.el + no process errors
This commit is contained in:
parent
b60e8b7214
commit
12d0cf94b6
1 changed files with 4 additions and 1 deletions
|
@ -376,7 +376,10 @@ SUBMODULE is a symbol."
|
||||||
"Reload `load-path'; useful if you modify/update packages outside of emacs."
|
"Reload `load-path'; useful if you modify/update packages outside of emacs."
|
||||||
(interactive)
|
(interactive)
|
||||||
(if noninteractive
|
(if noninteractive
|
||||||
(server-eval-at "server" '(doom/reload))
|
(progn
|
||||||
|
(require 'server)
|
||||||
|
(ignore-errors
|
||||||
|
(server-eval-at "server" '(doom/reload))))
|
||||||
(doom-initialize t)
|
(doom-initialize t)
|
||||||
(doom/compile t)
|
(doom/compile t)
|
||||||
(message "Reloaded %d packages" (length doom--package-load-path))))
|
(message "Reloaded %d packages" (length doom--package-load-path))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue