summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-04-29 17:55:36 -0500
committerCase Duckworth2021-04-29 17:55:36 -0500
commita8fca8b947ce640a9c240e4460a0c2146b6c5c89 (patch)
tree79e4d4e9b93577f9397a580e7ba3525e8317248b
parentBreak emacs-git-pull-config out of emacs-refresh (diff)
downloademacs-a8fca8b947ce640a9c240e4460a0c2146b6c5c89.tar.gz
emacs-a8fca8b947ce640a9c240e4460a0c2146b6c5c89.zip
Change upgrade-packages-and-restart to emacs-upgrade
-rw-r--r--init.el5
1 files 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'."
928 (add-hook (intern (concat (symbol-name mode) "-hook")) #'paren-face-mode))) 928 (add-hook (intern (concat (symbol-name mode) "-hook")) #'paren-face-mode)))
929 929
930(setup (:straight restart-emacs) 930(setup (:straight restart-emacs)
931 (defun upgrade-packages-and-restart () 931 (defun emacs-upgrade ()
932 "Upgrade all packages and restart Emacs." 932 "Pull config, upgrade packages, restart Emacs."
933 (interactive) 933 (interactive)
934 (straight-pull-all) 934 (straight-pull-all)
935 (emacs-git-pull-config)
935 (restart-emacs))) 936 (restart-emacs)))
936 937
937(setup (:straight simple-modeline) 938(setup (:straight simple-modeline)