changeset 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 8fefc1be4352
children 0134e496cf07
files lisp/wid-edit.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)