From d7e1ea831d7803a040135edf00d224ba6e80f613 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Thu, 22 Nov 2018 10:40:22 -0500 Subject: [PATCH] [emacs/magit] auto-expand unpulled and unpushed sections --- init.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.20.1