From b54c8610a48c092aec8adde289cb9ba52ff7e23c Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Tue, 23 Apr 2024 22:33:18 +0200 Subject: [PATCH] Remove unnecessary magit-make-margin-overlay calls --- lisp/forge-pullreq.el | 3 +-- lisp/forge-topic.el | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lisp/forge-pullreq.el b/lisp/forge-pullreq.el index 12c4fe28..60f967c3 100644 --- a/lisp/forge-pullreq.el +++ b/lisp/forge-pullreq.el @@ -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) diff --git a/lisp/forge-topic.el b/lisp/forge-topic.el index 500cb0ec..7634619c 100644 --- a/lisp/forge-topic.el +++ b/lisp/forge-topic.el @@ -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))