From 45d642dffa9f8bfc243c453907ef1c140362f39e Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 23 Apr 1997 05:06:35 +0000 Subject: [PATCH] (compare-windows): Allow windows on different frames. --- lisp/compare-w.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/compare-w.el b/lisp/compare-w.el index 479bd72125e..bdfcd006c95 100644 --- a/lisp/compare-w.el +++ b/lisp/compare-w.el @@ -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) -- 2.39.2