]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/minibuffer.el (minibuffer-completion-help): Use fit-window-to-buffer
authorJuri Linkov <juri@linkov.net>
Thu, 24 Mar 2016 22:14:24 +0000 (00:14 +0200)
committerJuri Linkov <juri@linkov.net>
Thu, 24 Mar 2016 22:14:24 +0000 (00:14 +0200)
instead of shrink-window-if-larger-than-buffer.  (Bug#23092)

lisp/minibuffer.el

index ecac0aeb1352f9b2099fa01d4f720ae5f22cb705..6540059b965a6f58aa660ab444e19736859a9659 100644 (file)
@@ -1835,7 +1835,7 @@ variables.")
                 'display-buffer-below-selected))
            ,(if temp-buffer-resize-mode
                 '(window-height . resize-temp-buffer-window)
-              '(window-height . shrink-window-if-larger-than-buffer))
+              '(window-height . fit-window-to-buffer))
            ,(when temp-buffer-resize-mode
               '(preserve-size . (nil . t))))
           nil