1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00

(compare-windows): Allow windows on different frames.

This commit is contained in:
Richard M. Stallman 1997-04-23 05:06:35 +00:00
parent 69b73c8a97
commit 45d642dffa

View file

@ -72,7 +72,7 @@ If `compare-ignore-case' is non-nil, changes in case are also ignored."
'compare-windows-skip-whitespace
compare-windows-whitespace))))
(setq p1 (point) b1 (current-buffer))
(setq w2 (next-window (selected-window)))
(setq w2 (next-window (selected-window) nil 'visible))
(if (eq w2 (selected-window))
(error "No other window"))
(setq p2 (window-point w2)