Fix 'No such server' errors in doom//reload-load-path #267
This commit is contained in:
parent
902edfce24
commit
a8f4b6cb2c
|
@ -522,8 +522,8 @@ call `doom/reload-load-path' remotely (through emacsclient)."
|
|||
(cond (noninteractive
|
||||
(message "Reloading...")
|
||||
(require 'server)
|
||||
(when (file-exists-p (if server-use-tcp server-auth-dir server-socket-dir))
|
||||
(server-eval-at "server" '(doom//reload-load-path))))
|
||||
(when (server-running-p)
|
||||
(server-eval-at server-name '(doom//reload-load-path))))
|
||||
(t
|
||||
(doom-initialize t)
|
||||
(message "Reloaded %d packages" (length doom--package-load-path))
|
||||
|
|
Loading…
Reference in New Issue
Block a user