[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/git-commit 6d66ab34c5: magit-refresh-get-relative-position
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/git-commit 6d66ab34c5: magit-refresh-get-relative-position: Fix regression |
Date: |
Tue, 10 May 2022 18:58:12 -0400 (EDT) |
branch: elpa/git-commit
commit 6d66ab34c54f2cd70aa1ffcb3b32a6daa31e689e
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
magit-refresh-get-relative-position: Fix regression
[1: 95b432530a] started to use the point determined earlier, but
we need the point after the movement from the previous two lines.
Closes #4682.
1: 2022-03-25 95b432530a6b131e63bec7411ee768f1dee9f629
Do not set point when invoking context-menu
---
lisp/magit-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/magit-mode.el b/lisp/magit-mode.el
index fc34e300c7..935f0ee23d 100644
--- a/lisp/magit-mode.el
+++ b/lisp/magit-mode.el
@@ -1134,7 +1134,7 @@ Run hooks `magit-pre-refresh-hook' and
`magit-post-refresh-hook'."
(progn (goto-char (line-beginning-position))
(when (looking-at "^[-+]") (forward-line))
(while (looking-at "^[ @]") (forward-line))
- (let ((beg point))
+ (let ((beg (point)))
(cond ((looking-at "^[-+]")
(forward-line)
(while (looking-at "^[-+]") (forward-line))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/git-commit 6d66ab34c5: magit-refresh-get-relative-position: Fix regression,
ELPA Syncer <=