From: Amin Bandali Date: Thu, 22 Nov 2018 15:40:22 +0000 (-0500) Subject: [emacs/magit] auto-expand unpulled and unpushed sections X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/d7e1ea831d7803a040135edf00d224ba6e80f613?hp=d409a2cf33eead9b44cf95df4265c3274d8afe92 [emacs/magit] auto-expand unpulled and unpushed sections --- 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