branch: scratch/add-vdiff
commit 88424696965be370ed8a335abef072ca8576c913
Author: justbur <[email protected]>
Commit: justbur <[email protected]>

    Allow point to leave overlay on target selection
---
 vdiff.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/vdiff.el b/vdiff.el
index 3bcc2f1..1d8ddb6 100644
--- a/vdiff.el
+++ b/vdiff.el
@@ -309,8 +309,7 @@ because those are handled differently.")
   (when vdiff-3way-mode
     (let* ((all-ovrs (vdiff--all-overlays ovr))
            (other-ovrs (remq ovr all-ovrs))
-           (this-idx (cl-position (vdiff--overlay-at-pos)
-                                  all-ovrs))
+           (this-idx (cl-position ovr all-ovrs))
            (marked-ovrs (if just-one other-ovrs all-ovrs))
            target)
       (unwind-protect

Reply via email to