diff --git a/core/core-configuration-layer.el b/core/core-configuration-layer.el index 845e2344f..a3a6b2bc3 100644 --- a/core/core-configuration-layer.el +++ b/core/core-configuration-layer.el @@ -1668,8 +1668,10 @@ If called with a prefix argument ALWAYS-UPDATE, assume yes to update." (spacemacs-buffer/append (format "\n--> %s package(s) to be updated.\n" upgraded-count)) (spacemacs-buffer/append - (concat "\nEmacs has to be restarted to actually install the " - "new version of the packages (SPC q r).\n")) + (format + (concat "\nEmacs has to be restarted to actually install the " + "new version of the packages%s.\n") + (if (member "restart-emacs" update-packages) "" " (SPC q r)"))) (configuration-layer//cleanup-rollback-directory) (spacemacs//redisplay))) (when (eq upgrade-count 0)