summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2022-12-05 19:05:50 -0500
committerDavid Thompson <dthompson2@worcester.edu>2022-12-05 19:05:50 -0500
commit68fb376d4dcdec98a85ce8e3ae48156aacd3688e (patch)
treec6e8afa7c22969bf8600ba7cf75366f55d08ebee
parent599ab41d95ec61b0458b0fe3301fbc7a34947239 (diff)
emacs: Make magit project.el integration work on boot.
-rw-r--r--dotfiles/.emacs.d/init.el8
1 files changed, 7 insertions, 1 deletions
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.