* marker.c (set_marker_internal): If desired position is passed
commit455f3d90c8a0366c18abf2e35018eef899132aa4
authorDmitry Antipov <dmantipov@yandex.ru>
Mon, 11 Feb 2013 10:21:52 +0000 (11 14:21 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Mon, 11 Feb 2013 10:21:52 +0000 (11 14:21 +0400)
tree99c1d09f744a02608a1b0a5f3c633abafdc17d38
parent8032a29c1a58ed9caf02b4e9862e41a54244bcb5
* marker.c (set_marker_internal): If desired position is passed
as a marker, avoid call to buf_charpos_to_bytepos.
* window.c (Fset_window_point): Omit redundant type checking.
(Fset_window_start): Likewise.  Format comment.
(window_scroll_pixel_based): Use set_marker_restricted_both
with character and byte positions obtained from an iterator.
(Fset_window_configuration): Use set_marker_restricted_both.
* xdisp.c (message_dolog): Likewise.
src/ChangeLog
src/marker.c
src/window.c
src/xdisp.c