Mercurial > emacs
diff lisp/wid-edit.el @ 33934:dd855bc086f3
(widget-choose): Make sure pop-up window is large enough to display all
the choices, as there's no way to scroll it.
| author | Miles Bader <miles@gnu.org> |
|---|---|
| date | Tue, 28 Nov 2000 05:10:20 +0000 |
| parents | 8b25bc5d3aa4 |
| children | 5e3fcfc24d23 |
line wrap: on
line diff
--- a/lisp/wid-edit.el Tue Nov 28 00:01:52 2000 +0000 +++ b/lisp/wid-edit.el Tue Nov 28 05:10:20 2000 +0000 @@ -254,7 +254,7 @@ ;; that corresponds to it. (save-window-excursion (let ((buf (get-buffer " widget-choose"))) - (display-buffer buf) + (fit-window-to-buffer (display-buffer buf)) (let ((cursor-in-echo-area t) keys (char 0)
