]> git.eshelyaron.com Git - emacs.git/commit
Clean up and simplify buffer display routines.
authorMartin Rudalics <rudalics@gmx.at>
Tue, 5 Jun 2012 09:11:06 +0000 (11:11 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Tue, 5 Jun 2012 09:11:06 +0000 (11:11 +0200)
commit51a5f9d8163744dab918e2b6fe3f452f5a4cddfd
treecb870fbea84630ef4994c25be9b57ac2bcf2fa37
parent08f9f7385c43bd2ae47e8062350f1774a307e8e6
Clean up and simplify buffer display routines.

* window.el (get-lru-window, get-mru-window, get-largest-window):
New argument NOT-SELECTED to avoid picking the selected window.
(window--display-buffer-1, window--display-buffer-2): Replace by
new function window--display-buffer
(display-buffer-same-window, display-buffer-reuse-window)
(display-buffer-pop-up-frame, display-buffer-pop-up-window): Use
window--display-buffer.
(display-buffer-use-some-window): Remove temporary dedication
hack by calling get-lru-window and get-largest-window with
NOT-SELECTED argument non-nil.  Call window--display-buffer.
etc/NEWS
lisp/ChangeLog
lisp/window.el