aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2004-03-13 13:12:09 +0000
committerEli Zaretskii2004-03-13 13:12:09 +0000
commit3792a773ca5c84cbc3d5f7d7e32ed80b6e9fb785 (patch)
treeba33a77226220488e8a98f9be26d43b57166f9a7
parent1239851cdd4cf7a75e98a850b1420d2cc7440455 (diff)
downloademacs-3792a773ca5c84cbc3d5f7d7e32ed80b6e9fb785.tar.gz
emacs-3792a773ca5c84cbc3d5f7d7e32ed80b6e9fb785.zip
(info-lookup): Reuse an existing Info window.
-rw-r--r--lisp/info-look.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/info-look.el b/lisp/info-look.el
index 8242932c3af..35138121838 100644
--- a/lisp/info-look.el
+++ b/lisp/info-look.el
@@ -338,7 +338,8 @@ If optional argument QUERY is non-nil, query for the help mode."
338 (info-frame (and window (window-frame window)))) 338 (info-frame (and window (window-frame window))))
339 (if (and info-frame 339 (if (and info-frame
340 (display-multi-frame-p) 340 (display-multi-frame-p)
341 (memq info-frame (frames-on-display-list))) 341 (memq info-frame (frames-on-display-list))
342 (not (eq info-frame (selected-frame))))
342 (select-frame info-frame) 343 (select-frame info-frame)
343 (switch-to-buffer-other-window "*info*"))))) 344 (switch-to-buffer-other-window "*info*")))))
344 (while (and (not found) modes) 345 (while (and (not found) modes)