Skip to content

Commit

Permalink
Remove unnecessary magit-make-margin-overlay calls
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Apr 23, 2024
1 parent a100db9 commit b54c861
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions lisp/forge-pullreq.el
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,7 @@ Also see option `forge-topic-list-limit'."
(forge--pullreq-branch-active pullreq)
(and-let* ((branch (oref pullreq head-ref)))
(and (magit-local-branch-p branch) branch))))
(seq-uniq (cons "--graph" magit-buffer-log-args)))
(magit-make-margin-overlay nil t))
(seq-uniq (cons "--graph" magit-buffer-log-args))))
(when-let ((range (forge--pullreq-range pullreq)))
(magit-insert-section-body
(magit--insert-log nil range magit-buffer-log-args)
Expand Down
1 change: 0 additions & 1 deletion lisp/forge-topic.el
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,6 @@ can be selected from the start."
'magit-section-heading)
(magit--propertize-face (format "(%s)" (length topics))
'magit-section-child-count)))
(magit-make-margin-overlay nil t)
(magit-insert-section-body
(dolist (topic topics)
(forge--insert-topic topic width))
Expand Down

0 comments on commit b54c861

Please sign in to comment.