Fix error when package cache doesn't exist on reload-load-path
This commit is contained in:
parent
57efa1b864
commit
a22d5f0bb4
|
@ -599,7 +599,8 @@ 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)."
|
||||
(interactive)
|
||||
(delete-file doom-packages-file)
|
||||
(when (file-exists-p doom-packages-file)
|
||||
(delete-file doom-packages-file))
|
||||
(cond ((and noninteractive (not (daemonp)))
|
||||
(require 'server)
|
||||
(when (server-running-p)
|
||||
|
|
Loading…
Reference in New Issue
Block a user