summaryrefslogtreecommitdiff
path: root/lisp/compare-w.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-04-23 05:06:35 +0000
committerRichard M. Stallman <rms@gnu.org>1997-04-23 05:06:35 +0000
commit45d642dffa9f8bfc243c453907ef1c140362f39e (patch)
treecc1dcc500d43168d4adfaeb2da8998e912862963 /lisp/compare-w.el
parent69b73c8a97fd9f83f0c31b2b0a6a7d5129da11ee (diff)
downloademacs-45d642dffa9f8bfc243c453907ef1c140362f39e.tar.gz
(compare-windows): Allow windows on different frames.
Diffstat (limited to 'lisp/compare-w.el')
-rw-r--r--lisp/compare-w.el2
1 files changed, 1 insertions, 1 deletions
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)