From 4878f1de7c974282eb6f122eee6c73d45d454915 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 28 Mar 2007 00:54:08 +0000 Subject: [PATCH] (lisp-complete-symbol): Make get-buffer-window find windows in other frames. --- lisp/ChangeLog | 11 +++++++++++ lisp/emacs-lisp/lisp.el | 3 +-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index dd157ce9984..53e7f65c968 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,14 @@ +2007-03-28 David Hansen (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 + + * 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 . + 2007-03-27 Kevin Ryde * info.el (Info-display-images-node): On a text-only terminal, show 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))) -- 2.39.5