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

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

[elpa] scratch/add-vdiff 42f56ae 177/258: Don't jump to beginning of buf


From: Justin Burkett
Subject: [elpa] scratch/add-vdiff 42f56ae 177/258: Don't jump to beginning of buffer on start
Date: Wed, 17 May 2017 08:13:46 -0400 (EDT)

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

    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))
 



reply via email to

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