changeset 76768:36178b78d004

(lisp-complete-symbol): Make get-buffer-window find windows in other frames.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 28 Mar 2007 00:54:08 +0000
parents 3f12f4633f63
children 3693d2ee35b8
files lisp/ChangeLog lisp/emacs-lisp/lisp.el
diffstat 2 files changed, 12 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Mar 28 00:51:08 2007 +0000
+++ b/lisp/ChangeLog	Wed Mar 28 00:54:08 2007 +0000
@@ -1,3 +1,14 @@
+2007-03-28  David Hansen  <david.hansen@gmx.net>  (tiny change)
+
+	* emacs-lisp/lisp.el (lisp-complete-symbol):
+	Fix call to get-buffer-window to find windows in other frames.
+
+2007-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* comint.el (comint-proc-query, comint-dynamic-list-completions):
+	Fix calls to get-buffer-window to find windows in other frames.
+	Reported by David Hansen <david.hansen@gmx.net>.
+
 2007-03-27   Kevin Ryde  <user42@zip.com.au>
 
 	* info.el (Info-display-images-node):  On a text-only terminal, show
--- a/lisp/emacs-lisp/lisp.el	Wed Mar 28 00:51:08 2007 +0000
+++ b/lisp/emacs-lisp/lisp.el	Wed Mar 28 00:54:08 2007 +0000
@@ -582,8 +582,7 @@
 symbols with function definitions, values or properties are
 considered."
   (interactive)
-
-  (let ((window (get-buffer-window "*Completions*")))
+  (let ((window (get-buffer-window "*Completions*" 0)))
     (if (and (eq last-command this-command)
 	     window (window-live-p window) (window-buffer window)
 	     (buffer-name (window-buffer window)))