branch: externals/diff-hl
commit b5547efdd4196cc12109dee92c67ec8a804d92b1
Author: Dmitry Gutov <dmi...@gutov.dev>
Commit: Dmitry Gutov <dmi...@gutov.dev>

    Stop cursor jumping during diff-hl-show-hunk-next
---
 diff-hl-show-hunk.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/diff-hl-show-hunk.el b/diff-hl-show-hunk.el
index 8f50b42004..6ab097ca6f 100644
--- a/diff-hl-show-hunk.el
+++ b/diff-hl-show-hunk.el
@@ -348,7 +348,8 @@ end of the OVERLAY, so posframe/inline is placed below the 
hunk."
   (let* ((point (if diff-hl-show-hunk--original-overlay
                     (overlay-start diff-hl-show-hunk--original-overlay)
                   nil))
-         (next-overlay (diff-hl-show-hunk--next-hunk nil point)))
+         (next-overlay (diff-hl-show-hunk--next-hunk nil point))
+         (inhibit-redisplay t))
     (if (not next-overlay)
         (message "There is no next change")
       (diff-hl-show-hunk-hide)

Reply via email to