[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] scratch/add-vdiff c2627f0 160/258: Fix recenter-all
From: |
Justin Burkett |
Subject: |
[elpa] scratch/add-vdiff c2627f0 160/258: Fix recenter-all |
Date: |
Wed, 17 May 2017 08:13:43 -0400 (EDT) |
branch: scratch/add-vdiff
commit c2627f0b0599d664335b2b152a3bc5001c710edc
Author: justbur <address@hidden>
Commit: justbur <address@hidden>
Fix recenter-all
---
vdiff.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/vdiff.el b/vdiff.el
index aba6869..61fa41e 100644
--- a/vdiff.el
+++ b/vdiff.el
@@ -241,7 +241,7 @@ because those are handled differently.")
(vdiff--unselected-buffers)))
(defun vdiff--all-windows ()
- (mapcar #'get-buffer-window vdiff--buffers))
+ (remq nil (mapcar #'get-buffer-window vdiff--buffers)))
(defun vdiff--all-overlays (ovr)
(overlay-get ovr 'vdiff-hunk-overlays))
@@ -1174,8 +1174,8 @@ the current one."
(defun vdiff--recenter-all ()
(dolist (win (vdiff--all-windows))
- (with-selected-window
- (recenter))))
+ (with-selected-window win
+ (recenter))))
(defun vdiff-sync-and-center ()
"Sync point in the other vdiff buffers to the line in this
- [elpa] scratch/add-vdiff e9d0cc7 050/258: Define new bitmaps for open and close of folds, (continued)
- [elpa] scratch/add-vdiff e9d0cc7 050/258: Define new bitmaps for open and close of folds, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 1c8dd1e 138/258: Default to nil for auto refinement, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 3d0678f 142/258: Make bitmaps nicer, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 53ee239 149/258: Fix bug in receive changes for 3way, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff e171b7c 140/258: Depend on hydra, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff baed24a 148/258: Work on moving refresh to 3way, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 74ebab6 143/258: Don't move point when closing all folds, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 938cc55 155/258: Fix use of delq (wanted remq), Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 0cbaf6f 156/258: Fix point jumping after receive-changes, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 8f7a212 157/258: Remove with-other-window and sync-line, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff c2627f0 160/258: Fix recenter-all,
Justin Burkett <=
- [elpa] scratch/add-vdiff 78071df 147/258: Use a separate minor-mode for 3way, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff a373c6b 139/258: Fix line endings in README, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 7bc7f40 172/258: Add recent changes, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 8842469 184/258: Allow point to leave overlay on target selection, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff b4c3e09 195/258: Ensure sentinel runs in correct context, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 28c939f 194/258: Document new option, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 133e187 193/258: Allow folds to close on point but make optional, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff 4dd194b 190/258: Update screenshot with refinements, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff b840935 202/258: Use more specific faces for refinements, Justin Burkett, 2017/05/17
- [elpa] scratch/add-vdiff f4332f2 212/258: Fix typo in Commentary section, Justin Burkett, 2017/05/17