]> git.eshelyaron.com Git - emacs.git/commit
Avoid duplicate calls of window-height in with-displayed-buffer-window
authorJuri Linkov <juri@linkov.net>
Sat, 27 Dec 2014 00:54:56 +0000 (02:54 +0200)
committerJuri Linkov <juri@linkov.net>
Sat, 27 Dec 2014 00:54:56 +0000 (02:54 +0200)
commit162660c3639a68a7b71439bdd713d54f940274b8
treea31f3c059fb337838244dddd60db42103120282e
parentd51459246bf54316f3a22694bf9eda0bfcc18a6a
Avoid duplicate calls of window-height in with-displayed-buffer-window

* lisp/minibuffer.el (minibuffer-completion-help):
Use shrink-window-if-larger-than-buffer in window-height
when temp-buffer-resize-mode is nil.

* lisp/window.el (with-displayed-buffer-window): Remove window-height
from the action alist in the temp-buffer-window-show call
when window-height is handled explicitly afterwards.

Fixes: debbugs:19355
lisp/ChangeLog
lisp/minibuffer.el
lisp/window.el