]> git.eshelyaron.com Git - emacs.git/commit
Move window edge functions to Elisp.
authorMartin Rudalics <rudalics@gmx.at>
Wed, 19 Aug 2015 09:20:44 +0000 (11:20 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Wed, 19 Aug 2015 09:20:44 +0000 (11:20 +0200)
commitf5a14da109b1ddbcf0e9e31cf0f1d385a95c0b60
treebab0b1c449a884f341d4bbc8e3c4a7c0e71ee10a
parenta83be20b2f3b1ad499c7584caa08434cc66bb98f
Move window edge functions to Elisp.

* src/window.c (Fwindow_edges, Fwindow_pixel_edges)
(Fwindow_absolute_pixel_edges, Fwindow_inside_edges)
(Fwindow_inside_pixel_edges, Fwindow_inside_absolute_pixel_edges):
Move to window.el.
(calc_absolute_offset): Remove.
* lisp/frame.el (frame-edges): New function.
* lisp/window.el (window-edges, window-pixel-edges)
(window-absolute-pixel-edges): Move here from window.c.
(window-body-edges, window-body-pixel-edges)
(window-absolute-body-pixel-edges): Move here from window.c and
rename "inside" to "body".  Keep old names as aliases.
(window-absolute-pixel-position): New function.
lisp/frame.el
lisp/window.el
src/window.c