Prompt to restart after doom//upgrade
This commit is contained in:
parent
d7e9b47266
commit
9befc015bb
|
@ -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…
Reference in New Issue
Block a user