diff options
-rw-r--r-- | init.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/init.el b/init.el index 00c9295..78ed21d 100644 --- a/init.el +++ b/init.el | |||
@@ -821,6 +821,13 @@ if ripgrep is installed, otherwise `consult-grep'." | |||
821 | :repo "duckwork/electric-cursor")) | 821 | :repo "duckwork/electric-cursor")) |
822 | (electric-cursor-mode +1)) | 822 | (electric-cursor-mode +1)) |
823 | 823 | ||
824 | (setup (:straight restart-emacs) | ||
825 | (defun upgrade-packages-and-restart () | ||
826 | "Upgrade all packages and restart Emacs." | ||
827 | (interactive) | ||
828 | (straight-pull-all) | ||
829 | (restart-emacs))) | ||
830 | |||
824 | 831 | ||
825 | ;;; Programming | 832 | ;;; Programming |
826 | 833 | ||