From a8fca8b947ce640a9c240e4460a0c2146b6c5c89 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 29 Apr 2021 17:55:36 -0500 Subject: Change upgrade-packages-and-restart to emacs-upgrade --- init.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index 8f7363e..eb7964e 100644 --- a/init.el +++ b/init.el @@ -928,10 +928,11 @@ if ripgrep is installed, otherwise `consult-grep'." (add-hook (intern (concat (symbol-name mode) "-hook")) #'paren-face-mode))) (setup (:straight restart-emacs) - (defun upgrade-packages-and-restart () - "Upgrade all packages and restart Emacs." + (defun emacs-upgrade () + "Pull config, upgrade packages, restart Emacs." (interactive) (straight-pull-all) + (emacs-git-pull-config) (restart-emacs))) (setup (:straight simple-modeline) -- cgit 1.4.1-21-gabe81