For selected window have (set-)window-point always operate on buffer's point.
authorMartin Rudalics <rudalics@gmx.at>
Tue, 21 Aug 2012 09:27:07 +0000 (11:27 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Tue, 21 Aug 2012 09:27:07 +0000 (11:27 +0200)
commit5481664ac42e532f7636941e29cf31b3163587c6
tree634ff4414fd635d9bb7f7ec988546438092d5eb3
parent9f1ee09efc42e82df21d0697cda35189f0618cd8
For selected window have (set-)window-point always operate on buffer's point.

* window.c (Fwindow_point): For the selected window always return
the position of its buffer's point.
(Fset_window_point): For the selected window always go in its
buffer to the specified position.
* window.el (window-point-1, set-window-point-1): Remove.
(window-in-direction, record-window-buffer)
(set-window-buffer-start-and-point, split-window-below)
(window--state-get-1, display-buffer-record-window): Replace
calls to window-point-1 and set-window-point-1 by calls to
window-point and set-window-point respectively.
lisp/ChangeLog
lisp/window.el
src/ChangeLog
src/window.c