summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2016-03-25 00:14:24 +0200
committerJuri Linkov <juri@linkov.net>2016-03-25 00:14:24 +0200
commite99ff6e85ae30d94150e5c67dff2dd81077a6692 (patch)
tree0ac1fc91bb383f2a4ae75ed84687717013e34a1a
parent077b78cffc0711717ae8976ef302b788e88d27a8 (diff)
downloademacs-e99ff6e85ae30d94150e5c67dff2dd81077a6692.tar.gz
* lisp/minibuffer.el (minibuffer-completion-help): Use fit-window-to-buffer
instead of shrink-window-if-larger-than-buffer. (Bug#23092)
-rw-r--r--lisp/minibuffer.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index ecac0aeb135..6540059b965 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -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