summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2007-03-28 00:54:08 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2007-03-28 00:54:08 +0000
commit4878f1de7c974282eb6f122eee6c73d45d454915 (patch)
tree37ea6d88c3e21d209f4ec73ae54e2a54a4d0fcc9 /lisp/emacs-lisp/lisp.el
parentdbb56e39bf5352a1f81112986f29d59ba9ac0556 (diff)
downloademacs-4878f1de7c974282eb6f122eee6c73d45d454915.tar.gz
(lisp-complete-symbol): Make get-buffer-window find windows in other frames.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
-rw-r--r--lisp/emacs-lisp/lisp.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el
index 947b4063ad4..5254a8389b4 100644
--- a/lisp/emacs-lisp/lisp.el
+++ b/lisp/emacs-lisp/lisp.el
@@ -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)))