branch: scratch/add-vdiff
commit 42f56aeecb2e6ca23f890e9888f267ffc2e2febf
Author: justbur <[email protected]>
Commit: justbur <[email protected]>
Don't jump to beginning of buffer on start
---
vdiff.el | 2 --
1 file changed, 2 deletions(-)
diff --git a/vdiff.el b/vdiff.el
index b0610cc..0fa58cd 100644
--- a/vdiff.el
+++ b/vdiff.el
@@ -1578,7 +1578,6 @@ asked to select two buffers."
current-prefix-arg)))
(delete-other-windows)
(switch-to-buffer buffer-a)
- (goto-char (point-min))
(save-selected-window
(if horizontal
(split-window-vertically)
@@ -1601,7 +1600,6 @@ asked to select two buffers."
(defun vdiff-3way-layout-function-default (buffer-a buffer-b buffer-c)
(delete-other-windows)
(switch-to-buffer buffer-a)
- (goto-char (point-min))
(set-window-buffer (split-window-vertically) buffer-c)
(set-window-buffer (split-window-horizontally) buffer-b))