aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2021-08-13 22:53:29 +0200
committerJonas Bernoulli <jonas@bernoul.li>2021-08-13 22:53:29 +0200
commitb6b625134729ec52413cd126b4a76645f3279c28 (patch)
tree6c4237682582f04e89d9b8b6359fa1a9207311fe /Documentation
parentb8e64dcb98677adeb00e6f9e52a5ae59732daafb (diff)
magit-refresh-get-relative-position: Don't use count-lines
This function does not reliably return the number of lines between two positions. It returns either that, or that plus one; which is of course completely bonkers. Closes #4148.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/RelNotes/3.3.0.org3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/RelNotes/3.3.0.org b/Documentation/RelNotes/3.3.0.org
index 9f7b760..2b30741 100644
--- a/Documentation/RelNotes/3.3.0.org
+++ b/Documentation/RelNotes/3.3.0.org
@@ -33,3 +33,6 @@
a terminal. If this change does not have any effect for you then
your theme probably changes these faces and should stop doing so.
#4206
+
+- In some cases refreshing a buffer caused the cursor to jump to a
+ different position. #4148