On Tue, 2002-11-26 at 22:04, Paul Stodghill wrote:
Is the window width of the new *Completions* buffer being set to the
window width of the minibuf window instead of the window in which it
lisp/list-mode.el (display-completion-list) has this (it also seems to
be able to take the window width as an argument):
;; This needs fixing for the case of windows
;; that aren't the same width's the frame.
;; Sadly, the window it will appear in is not known
;; until after the text has been made.
;; We have to use last-nonminibuf-frame here
;; and not selected-frame because if a
;; minibuffer-only frame is being used it will
;; be the selected-frame at the point this is
;; run. We keep the selected-frame call around
;; just in case.
(frame-width (or (last-nonminibuf-frame)
scop at xemacs.org