branch: elpa/magit
commit 3416660e2e4dfa7cd8b51c749eb7359dd85cb3d9
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    magit-insert-shelved-branches: Fix margin highlighting
---
 lisp/magit-margin.el | 1 +
 lisp/magit-refs.el   | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/magit-margin.el b/lisp/magit-margin.el
index f2abe52b2b..064f8c72a6 100644
--- a/lisp/magit-margin.el
+++ b/lisp/magit-margin.el
@@ -177,6 +177,7 @@ does not carry to other options."
 (defvar magit-margin-overlay-conditions
   '( unpulled unpushed recent stashes local cherries
      [remote branchbuf]
+     [shelved branchbuf]
      [tags branchbuf]
      topics issues pullreqs))
 
diff --git a/lisp/magit-refs.el b/lisp/magit-refs.el
index dd610a957f..3b07c7897c 100644
--- a/lisp/magit-refs.el
+++ b/lisp/magit-refs.el
@@ -642,7 +642,7 @@ line is inserted at all."
 (defun magit-insert-shelved-branches ()
   "Insert sections showing all shelved branches."
   (when-let ((refs (magit-list-refs "refs/shelved/")))
-    (magit-insert-section (shelved-branches nil)
+    (magit-insert-section (shelved nil)
       (magit-insert-heading t "Shelved branches")
       (dolist (ref refs)
         (magit-insert-section (shelved-branch ref t)

Reply via email to