Fix doom//reload-load-path infinite recursion with daemon emacs
This commit is contained in:
parent
f35a49dc7e
commit
3355378480
1 changed files with 2 additions and 2 deletions
|
@ -522,10 +522,10 @@ happen if you manually modify/update/install packages from outside Emacs, while
|
|||
an Emacs session is running.
|
||||
|
||||
This isn't necessary if you use Doom's package management commands because they
|
||||
call `doom/reload-load-path' remotely (through emacsclient)."
|
||||
call `doom//reload-load-path' remotely (through emacsclient)."
|
||||
(interactive)
|
||||
(byte-recompile-file (expand-file-name "core.el" doom-core-dir) t)
|
||||
(cond (noninteractive
|
||||
(cond ((and noninteractive (not (daemonp)))
|
||||
(require 'server)
|
||||
(when (server-running-p)
|
||||
(message "Reloading active Emacs session...")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue