]> git.eshelyaron.com Git - emacs.git/commitdiff
(widget-choose): Make sure pop-up window is large enough to display all
authorMiles Bader <miles@gnu.org>
Tue, 28 Nov 2000 05:11:20 +0000 (05:11 +0000)
committerMiles Bader <miles@gnu.org>
Tue, 28 Nov 2000 05:11:20 +0000 (05:11 +0000)
the choices, as there's no way to scroll it.

lisp/ChangeLog
lisp/wid-edit.el

index aa68d06080546c2406814882c37d6f8b626028b2..dc633c88ab914514bdf45e46603194338671a693 100644 (file)
@@ -1,3 +1,8 @@
+2000-11-28  Miles Bader  <miles@gnu.org>
+
+       * wid-edit.el (widget-choose): Make sure pop-up window is large
+       enough to display all the choices, as there's no way to scroll it.
+
 2000-11-28  Kenichi Handa  <handa@etl.go.jp>
 
        * international/mule-conf.el: Make the coding system no-conversion
index 6b5c1fbd99fa0661997ae3f47713952372fd5d43..eb402a95eae3efda3142dbae54c238383d6c136a 100644 (file)
@@ -254,7 +254,7 @@ minibuffer."
           ;; 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)