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