Move 'restart Emacs to see changes' message to 'doom sync'
It isn't the autoloads generator's responsibility to do this. The "changes" referred to consist of more than just the regenerated autoloads file.
This commit is contained in:
parent
10a4e6570d
commit
f4e6d36574
2 changed files with 4 additions and 8 deletions
|
@ -405,7 +405,8 @@ stale."
|
|||
(doom-cli-packages-update))
|
||||
(doom-cli-packages-purge prune-p 'builds-p prune-p prune-p)
|
||||
(run-hooks 'doom-sync-post-hook)
|
||||
(doom-autoloads-reload)
|
||||
(when (doom-autoloads-reload)
|
||||
(print! (info "Restart Emacs or use 'M-x doom/reload' for changes to take effect")))
|
||||
t))
|
||||
|
||||
(load! "cli/env")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue