changeset 17542:653ef38fd02e

(compare-windows): Allow windows on different frames.
author Richard M. Stallman <rms@gnu.org>
date Wed, 23 Apr 1997 05:06:35 +0000
parents 181fe440fcc8
children 9b75a01e03e5
files lisp/compare-w.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/compare-w.el	Wed Apr 23 01:30:10 1997 +0000
+++ b/lisp/compare-w.el	Wed Apr 23 05:06:35 1997 +0000
@@ -72,7 +72,7 @@
 			     '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)