From 68fb376d4dcdec98a85ce8e3ae48156aacd3688e Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 5 Dec 2022 19:05:50 -0500 Subject: emacs: Make magit project.el integration work on boot. --- dotfiles/.emacs.d/init.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dotfiles/.emacs.d/init.el b/dotfiles/.emacs.d/init.el index 629ea0b..6b28b59 100644 --- a/dotfiles/.emacs.d/init.el +++ b/dotfiles/.emacs.d/init.el @@ -215,7 +215,13 @@ might be bad." (use-package magit :bind (("C-c g" . magit-status)) - :config (use-package magit-blame) + :init + ;; Make magit-status project shortcut available immediately. + ;; Without this, it only becomes available after running + ;; magit-status once manually. + (use-package magit-extras) + :config + (use-package magit-blame) :custom ;; I don't like magit's default local tracking branch naming ;; strategy. -- cgit v1.2.3