diff lisp/emacs-lisp/lisp.el @ 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 7a3f13e2dd57
children 935157c0b596 4ef881a120fe
line wrap: on
line diff
--- 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)))