Delete doom-packages-file on doom//reload-load-path

Fixes potentially malformed load-path after package management
operatins.
This commit is contained in:
Henrik Lissner 2018-03-01 04:47:09 -05:00
parent dfb6bc162d
commit cde3a3ee78
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -533,6 +533,7 @@ 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)
(cond ((and noninteractive (not (daemonp)))
(require 'server)
(when (server-running-p)