1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-23 10:34:07 +00:00

(emerge-recenter, emerge-operate-on-windows):

Use `visible' when calling get-buffer-window.
This commit is contained in:
Richard M. Stallman 1994-09-21 18:42:05 +00:00
parent 4cc32db661
commit f405e88797

View File

@ -1554,8 +1554,8 @@ With an argument, reestablish the default three-window display."
(let* ((merge-buffer emerge-merge-buffer)
(buffer-A emerge-A-buffer)
(buffer-B emerge-B-buffer)
(window-A (get-buffer-window buffer-A))
(window-B (get-buffer-window buffer-B))
(window-A (get-buffer-window buffer-A 'visible))
(window-B (get-buffer-window buffer-B 'visible))
(merge-window (get-buffer-window merge-buffer))
(diff-vector
(aref emerge-difference-list emerge-current-difference)))
@ -1599,8 +1599,8 @@ With an argument, reestablish the default three-window display."
(let* ((merge-buffer emerge-merge-buffer)
(buffer-A emerge-A-buffer)
(buffer-B emerge-B-buffer)
(window-A (get-buffer-window buffer-A))
(window-B (get-buffer-window buffer-B))
(window-A (get-buffer-window buffer-A 'visible))
(window-B (get-buffer-window buffer-B 'visible))
(merge-window (get-buffer-window merge-buffer)))
(if window-A (progn
(select-window window-A)