(lisp-complete-symbol): Make get-buffer-window find windows in other frames.

This commit is contained in:
Stefan Monnier 2007-03-28 00:54:08 +00:00
parent dbb56e39bf
commit 4878f1de7c
2 changed files with 12 additions and 2 deletions

View file

@ -582,8 +582,7 @@ symbols with function definitions are considered. Otherwise, all
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)))