branch: scratch/add-vdiff
commit a15b0e5d3f4e3c8bab6a47340e33cb0f27131cfa
Author: justbur <[email protected]>
Commit: justbur <[email protected]>
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)))))