mirror of
https://github.com/emacscollective/emacs.g.git
synced 2025-06-07 08:14:16 -04:00
magit: add new magit-insert-modules to magit-status-sections-hook
Instead of adding various `magit-insert-modules-*' functions directly.
This commit is contained in:
parent
f3778d700f
commit
8cf374b249
17
init.el
17
init.el
@ -100,20 +100,9 @@
|
||||
("C-x M-g" . magit-dispatch-popup))
|
||||
:config
|
||||
(magit-add-section-hook 'magit-status-sections-hook
|
||||
'magit-insert-modules-unpulled-from-upstream
|
||||
'magit-insert-unpulled-from-upstream)
|
||||
(magit-add-section-hook 'magit-status-sections-hook
|
||||
'magit-insert-modules-unpulled-from-pushremote
|
||||
'magit-insert-unpulled-from-upstream)
|
||||
(magit-add-section-hook 'magit-status-sections-hook
|
||||
'magit-insert-modules-unpushed-to-upstream
|
||||
'magit-insert-unpulled-from-upstream)
|
||||
(magit-add-section-hook 'magit-status-sections-hook
|
||||
'magit-insert-modules-unpushed-to-pushremote
|
||||
'magit-insert-unpulled-from-upstream)
|
||||
(magit-add-section-hook 'magit-status-sections-hook
|
||||
'magit-insert-submodules
|
||||
'magit-insert-unpulled-from-upstream))
|
||||
'magit-insert-modules
|
||||
'magit-insert-stashes
|
||||
'append))
|
||||
|
||||
(use-package man
|
||||
:defer t
|
||||
|
Loading…
x
Reference in New Issue
Block a user