summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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)