Move get-lru-window and get-largest-window to window.el.
authorMartin Rudalics <rudalics@gmx.at>
Tue, 7 Jun 2011 13:23:08 +0000 (15:23 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Tue, 7 Jun 2011 13:23:08 +0000 (15:23 +0200)
commit190b47e683f61b30533bcc548f8be9d3b861029e
tree0cf48df3e7dba31caad6abe2a81e0f5936ff5c4e
parentfa8a67e67454a900e4cf7b93fed96f27ea41b1b8
Move get-lru-window and get-largest-window to window.el.

* window.c (window_loop): Remove handling of GET_LRU_WINDOW and
GET_LARGEST_WINDOW.
(Fget_lru_window, Fget_largest_window): Move to window.el.

* window.el (get-lru-window, get-largest-window): Move here from
window.c.  Rename first argument to ALL-FRAMES.  Rephrase
doc-strings.
(get-buffer-window-list): Rewrite using window-list-1.  Rephrase
doc-string.
lisp/ChangeLog
lisp/window.el
src/ChangeLog
src/window.c