Load transient after magit, using ensure and after instead of defer

This commit is contained in:
Vedang Manerikar 2024-12-10 15:44:47 +05:30
parent 8f20969604
commit fbf6e957fd
2 changed files with 12 additions and 10 deletions

View file

@ -3475,11 +3475,6 @@ branches, etc.
#+begin_src emacs-lisp :tangle "unravel-modules/unravel-git.el"
;;; Interactive and powerful git front-end (Magit)
(use-package transient
:defer t
:config
(setq transient-show-popup 0.5))
(use-package magit
:ensure t
:bind ("C-x g" . magit-status)
@ -3496,6 +3491,12 @@ branches, etc.
(setq magit-diff-refine-hunk t))
(use-package transient
:ensure t
:after magit
:config
(setq transient-show-popup 0.5))
(use-package magit-repos
:ensure nil ; part of `magit'
:commands (magit-list-repositories)

View file

@ -45,11 +45,6 @@
(setq diff-font-lock-syntax 'hunk-also))
;;; Interactive and powerful git front-end (Magit)
(use-package transient
:defer t
:config
(setq transient-show-popup 0.5))
(use-package magit
:ensure t
:bind ("C-x g" . magit-status)
@ -66,6 +61,12 @@
(setq magit-diff-refine-hunk t))
(use-package transient
:ensure t
:after magit
:config
(setq transient-show-popup 0.5))
(use-package magit-repos
:ensure nil ; part of `magit'
:commands (magit-list-repositories)