From 9befc015bb7ea5ff413b719aba789547cc29fcbd Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 22 Mar 2019 14:13:35 -0400 Subject: [PATCH] Prompt to restart after doom//upgrade --- core/autoload/cli.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/autoload/cli.el b/core/autoload/cli.el index 166f68747..ec9481937 100644 --- a/core/autoload/cli.el +++ b/core/autoload/cli.el @@ -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)