emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] scratch/add-vdiff 8842469 184/258: Allow point to leave overlay o


From: Justin Burkett
Subject: [elpa] scratch/add-vdiff 8842469 184/258: Allow point to leave overlay on target selection
Date: Wed, 17 May 2017 08:13:47 -0400 (EDT)

branch: scratch/add-vdiff
commit 88424696965be370ed8a335abef072ca8576c913
Author: justbur <address@hidden>
Commit: justbur <address@hidden>

    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

[Prev in Thread] Current Thread [Next in Thread]