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

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

[elpa] scratch/add-vdiff a15b0e5 084/258: Move point before closing fold


From: Justin Burkett
Subject: [elpa] scratch/add-vdiff a15b0e5 084/258: Move point before closing fold
Date: Wed, 17 May 2017 08:13:27 -0400 (EDT)

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

    Move point before closing fold
---
 vdiff.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/vdiff.el b/vdiff.el
index a1ee8e8..7bd79db 100644
--- a/vdiff.el
+++ b/vdiff.el
@@ -817,6 +817,7 @@ folds in the region."
     (when (eq (overlay-get ovr 'vdiff-type) 'fold)
       (let ((other-fold (overlay-get ovr 'vdiff-other-fold)))
         (setq vdiff--all-folds-open nil)
+        (goto-char (overlay-start ovr))
         (vdiff--set-closed-fold-props ovr)
         (vdiff--set-closed-fold-props other-fold)))))
 



reply via email to

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