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

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

[elpa] scratch/add-vdiff edfae89 176/258: Cleanup vdiff-buffers


From: Justin Burkett
Subject: [elpa] scratch/add-vdiff edfae89 176/258: Cleanup vdiff-buffers
Date: Wed, 17 May 2017 08:13:46 -0400 (EDT)

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

    Cleanup vdiff-buffers
---
 vdiff.el | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/vdiff.el b/vdiff.el
index aa0752f..b0610cc 100644
--- a/vdiff.el
+++ b/vdiff.el
@@ -1583,14 +1583,14 @@ asked to select two buffers."
     (if horizontal
         (split-window-vertically)
       (split-window-horizontally))
-    (switch-to-buffer-other-window buffer-b)
-    (setq vdiff--temp-session
-          (vdiff--init-session buffer-a buffer-b))
-    (dolist (buf (list buffer-a buffer-b))
-      (with-current-buffer buf
-        (vdiff-mode -1)
-        (vdiff-3way-mode -1)
-        (vdiff-mode 1))))
+    (switch-to-buffer-other-window buffer-b))
+  (setq vdiff--temp-session
+        (vdiff--init-session buffer-a buffer-b))
+  (dolist (buf (list buffer-a buffer-b))
+    (with-current-buffer buf
+      (vdiff-mode -1)
+      (vdiff-3way-mode -1)
+      (vdiff-mode 1)))
   (vdiff-refresh))
 
 (defcustom vdiff-3way-layout-function 'vdiff-3way-layout-function-default



reply via email to

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