summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2018-11-22 10:40:22 -0500
committerAmin Bandali <bandali@gnu.org>2018-11-22 10:40:22 -0500
commitd7e1ea831d7803a040135edf00d224ba6e80f613 (patch)
treeb54c33d8678609a0bfeca9497c563d4e8eee3744
parentd409a2cf33eead9b44cf95df4265c3274d8afe92 (diff)
downloadconfigs-d7e1ea831d7803a040135edf00d224ba6e80f613.tar.gz
configs-d7e1ea831d7803a040135edf00d224ba6e80f613.tar.xz
configs-d7e1ea831d7803a040135edf00d224ba6e80f613.zip
[emacs/magit] auto-expand unpulled and unpushed sections
Diffstat (limited to '')
-rw-r--r--init.org4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.org b/init.org
index f8c87b5..1c847ff 100644
--- a/init.org
+++ b/init.org
@@ -993,7 +993,9 @@ Not just how I do git, but /the/ way to do git.
(setq
magit-repository-directories '(("~/.emacs.d/" . 0)
("~/src/git/" . 1)))
- (push (cons [unpushed status] 'show) magit-section-initial-visibility-alist)
+ (nconc magit-section-initial-visibility-alist
+ '(([unpulled status] . show)
+ ([unpushed status] . show)))
:custom-face (magit-diff-file-heading ((t (:weight normal)))))
#+end_src