]> git.eshelyaron.com Git - emacs.git/commit
* lisp/window.el (with-displayed-buffer-window): New macro.
authorJuri Linkov <juri@jurta.org>
Tue, 8 Jul 2014 08:02:50 +0000 (11:02 +0300)
committerJuri Linkov <juri@jurta.org>
Tue, 8 Jul 2014 08:02:50 +0000 (11:02 +0300)
commitf0f70ec0bc55e452ea29b5cf3f532740966b0192
treee77dfa2fabf062231d851071670138f28d1d2566
parentf298de5264c86bbb76ccec727779dabe16e6b9c3
* lisp/window.el (with-displayed-buffer-window): New macro.
(with-temp-buffer-window, with-current-buffer-window):
Use `macroexp-let2' to evaluate and bind variables
in the same order as macro arguments.
(display-buffer--action-function-custom-type): Add
`display-buffer-below-selected' and `display-buffer-at-bottom'.

* lisp/minibuffer.el (minibuffer-completion-help): Replace
`with-output-to-temp-buffer' with `with-displayed-buffer-window'
with actions that display *Completions* at-bottom when called
from the minibuffer, or below-selected in a normal buffer.
Associate `window-height' with `fit-window-to-buffer'.
Let-bind `pop-up-windows' to nil.

* lisp/dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
instead of `with-current-buffer-window'.

Fixes: debbugs:17809
lisp/ChangeLog
lisp/dired.el
lisp/minibuffer.el
lisp/window.el