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

    diff-hl-diff-goto-hunk-1: Adapt to there being 2 kinds of highlights now
---
 diff-hl.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diff-hl.el b/diff-hl.el
index be95d0a39d..9fd0748ccc 100644
--- a/diff-hl.el
+++ b/diff-hl.el
@@ -701,7 +701,7 @@ Return a list of line overlays used."
               rev2 (cdr revs))))
     (vc-diff-internal t (vc-deduce-fileset) rev1 rev2 t)
     (vc-run-delayed (if (< (line-number-at-pos (point-max)) 3)
-                        (with-current-buffer buffer (diff-hl-remove-overlays))
+                        (with-current-buffer buffer (diff-hl-update))
                       (when (or (not rev2) diff-hl-goto-hunk-old-revisions)
                         (diff-hl-diff-skip-to line))
                       (setq vc-sentinel-movepoint (point))))))

Reply via email to