(unshow_buffer): Set PT with TEMP_SET_PT_BOTH.
authorRichard M. Stallman <rms@gnu.org>
Thu, 1 Jan 1998 02:07:14 +0000 (02:07 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 1 Jan 1998 02:07:14 +0000 (02:07 +0000)
commitb73ea88edf86ce4878ad3f9d27c9dc9dcac0bb59
tree06b9f8f7dae34689479d97aa2dc3296f4d92648b
parent6ae1f27ebf96696996056691839da02e70ab8ed9
(unshow_buffer): Set PT with TEMP_SET_PT_BOTH.

(Fset_window_buffer): Use set_marker_both.
(Fselect_window, Fscroll_other_window, save_window_save): Likewise.
(Fset_window_configuration): Pass p->mark itself to Fset_marker
and set_marker_restricted_both.
(temp_output_buffer_show): Use set_marker_restricted_both.
(window_scroll): Save and restore both kinds of pointers.

(Fdelete_other_windows): Rely on vmotion to give bytepos.
Use set_marker_both.  Use byte positions.
(Frecenter): Likewise.
(Fmove_to_window_line): Use set_marker_both and Fgoto_char.
src/window.c