Reload (via server if noninteractive) after pkg install/update/autoremove
This commit is contained in:
parent
e8e66c88d0
commit
06b1a8c928
2 changed files with 8 additions and 8 deletions
|
@ -237,8 +237,7 @@ appropriate."
|
|||
(message "Error (%s): %s" (car pkg) ex))))
|
||||
|
||||
(message "Finished!")
|
||||
(when noninteractive
|
||||
(message "Restart emacs for these changes to take effect."))))))
|
||||
(doom/reload)))))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom/packages-update ()
|
||||
|
@ -279,8 +278,7 @@ appropriate."
|
|||
(message "Error installing %s: %s" (car pkg) ex))))
|
||||
|
||||
(message "Finished!")
|
||||
(when noninteractive
|
||||
(message "Restart emacs for these changes to take effect."))))))
|
||||
(doom/reload)))))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom/packages-autoremove ()
|
||||
|
@ -311,8 +309,7 @@ appropriate."
|
|||
(message "Error deleting %s: %s" pkg ex))))
|
||||
|
||||
(message "Finished!")
|
||||
(when noninteractive
|
||||
(message "Restart emacs for these changes to take effect."))))))
|
||||
(doom/reload)))))
|
||||
|
||||
;;;###autoload
|
||||
(defalias 'doom/install-package 'package-install)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue