[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/git-commit 9a69e3d479 3/4: magit-blame--make-margin-overla
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/git-commit 9a69e3d479 3/4: magit-blame--make-margin-overlays: Fix beginning of each overlay |
Date: |
Wed, 5 Oct 2022 06:58:43 -0400 (EDT) |
branch: elpa/git-commit
commit 9a69e3d47938fb260467e4f63efb5fd0b9eb8b99
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
magit-blame--make-margin-overlays: Fix beginning of each overlay
Fixes #4765.
---
lisp/magit-blame.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/magit-blame.el b/lisp/magit-blame.el
index d27f84ff85..5093d06d16 100644
--- a/lisp/magit-blame.el
+++ b/lisp/magit-blame.el
@@ -567,9 +567,10 @@ modes is toggled, then this mode also gets toggled
automatically.
(forward-line (1- line))
(point)))
-(defun magit-blame--make-margin-overlays (chunk revinfo _beg end)
+(defun magit-blame--make-margin-overlays (chunk revinfo beg end)
(save-excursion
(let ((line 0))
+ (goto-char beg)
(while (< (point) end)
(magit-blame--make-margin-overlay chunk revinfo line)
(forward-line)