Prompt to restart after doom//upgrade
This commit is contained in:
parent
d7e9b47266
commit
9befc015bb
1 changed files with 3 additions and 1 deletions
|
@ -45,7 +45,9 @@
|
|||
(defun doom//upgrade (&optional yes)
|
||||
"TODO"
|
||||
(interactive "P")
|
||||
(doom--run "upgrade" yes))
|
||||
(doom--run "upgrade" yes)
|
||||
(when (y-or-n-p "You must restart Emacs for the upgrade to take effect. Restart?")
|
||||
(doom/restart-and-restore)))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom//install (&optional yes)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue