diff options
author | Alan Pearce | 2024-05-21 09:02:21 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-21 09:02:21 +0200 |
commit | da560ebda355d444d963f73b1086989d80d3dd10 (patch) | |
tree | e3f877a87c8b9efb9bc4635f7b80d39daae6e721 /user/emacs | |
parent | 65ad9cd252346a0ab3af05d299ea67bda8886139 (diff) | |
download | nixfiles-da560ebda355d444d963f73b1086989d80d3dd10.tar.lz nixfiles-da560ebda355d444d963f73b1086989d80d3dd10.tar.zst nixfiles-da560ebda355d444d963f73b1086989d80d3dd10.zip |
emacs: fix magit-project integration erroring when called too early
Diffstat (limited to 'user/emacs')
-rw-r--r-- | user/emacs/init.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 03f42eda..da87deb0 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -967,8 +967,8 @@ _C-k_: prev _u_pper _=_: upper/lower _s_mart resolve :general ([remap project-vc-dir] #'magit-project-status) (:keymaps 'project-prefix-map "m" #'magit-project-status) :init (progn - (with-eval-after-load 'project - (add-to-list 'project-switch-commands '(magit-project-status "Magit") t))) + (require 'project) + (add-to-list 'project-switch-commands '(magit-project-status "Magit") t)) :config (progn (setq magit-section-visibility-indicator nil magit-diff-refine-hunk t |