diff options
author | Kyle Meyer <kyle@kyleam.com> | 2016-06-30 21:46:23 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2016-06-30 21:46:23 -0400 |
commit | d1859154e80c06964c6786f76a35b3fab0139156 (patch) | |
tree | daa0a4e0cb983910c1193a8678f4debeb3476b46 | |
parent | 1f34790117031ff61fcc87800241210528dd844c (diff) | |
download | emacs.d-d1859154e80c06964c6786f76a35b3fab0139156.tar.gz |
Re-arrange magit-status-sections-hook
-rw-r--r-- | init.el | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -871,6 +871,13 @@ (plist-put magit-patch-popup :use-prefix 'popup)) (setq magit-patch-arguments '("--output-directory=outgoing/")) + (setq magit-status-sections-hook + (let ((funcs (list #'magit-insert-unpulled-from-pushremote + #'magit-insert-unpulled-from-upstream))) + (append (cl-remove-if (lambda (x) (memq x funcs)) + magit-status-sections-hook) + funcs))) + (remove-hook 'magit-refs-sections-hook #'magit-insert-tags) (setq magit-display-buffer-function |