From ada43865f1986ee320793165315be511cfac1cea Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Tue, 2 Oct 2012 03:42:36 +0400 Subject: [PATCH] diff-hl-diff-goto-hunk: Fix when the process call is async Like with Bazaar. --- diff-hl.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/diff-hl.el b/diff-hl.el index 46a54c34e..0dd0f47be 100644 --- a/diff-hl.el +++ b/diff-hl.el @@ -3,7 +3,7 @@ ;; Author: Dmitry Gutov ;; URL: https://github.com/dgutov/diff-hl ;; Keywords: vc, diff -;; Version: 1.3.2 +;; Version: 1.3.3 ;; Package-Requires: ((smartrep "0.0.3")) ;; This file is not part of GNU Emacs. @@ -228,7 +228,8 @@ (vc-diff-internal t (vc-deduce-fileset) nil nil t) (vc-exec-after `(if (eobp) (with-current-buffer ,buffer (diff-hl-remove-overlays)) - (diff-hl-diff-skip-to ,line))))) + (diff-hl-diff-skip-to ,line) + (setq vc-sentinel-movepoint (point)))))) (defun diff-hl-diff-skip-to (line) "In `diff-mode', skip to the hunk and line corresponding to LINE -- 2.39.2