branch: elpa/git-commit
commit 74c9664c0fb16cb9830272a726cff17ccb8e27f6
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    magit-insert-revision-notes: Cosmetics
---
 lisp/magit-diff.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/magit-diff.el b/lisp/magit-diff.el
index cd01bf3786..586f9a6bad 100644
--- a/lisp/magit-diff.el
+++ b/lisp/magit-diff.el
@@ -2744,7 +2744,7 @@ or a ref which is not a branch, then it inserts nothing."
   "Insert commit notes into a revision buffer."
   (let* ((var "core.notesRef")
          (def (or (magit-get var) "refs/notes/commits")))
-    (dolist (ref (or (magit-list-active-notes-refs)))
+    (dolist (ref (magit-list-active-notes-refs))
       (magit-insert-section section (notes ref (not (equal ref def)))
         (oset section heading-highlight-face 
'magit-diff-hunk-heading-highlight)
         (let ((beg (point))

Reply via email to