mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Delete doom-packages-file on doom//reload-load-path
Fixes potentially malformed load-path after package management operatins.
This commit is contained in:
@ -533,6 +533,7 @@ an Emacs session is running.
|
|||||||
This isn't necessary if you use Doom's package management commands because they
|
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)
|
(interactive)
|
||||||
|
(delete-file doom-packages-file)
|
||||||
(cond ((and noninteractive (not (daemonp)))
|
(cond ((and noninteractive (not (daemonp)))
|
||||||
(require 'server)
|
(require 'server)
|
||||||
(when (server-running-p)
|
(when (server-running-p)
|
||||||
|
Reference in New Issue
Block a user