]> git.eshelyaron.com Git - emacs.git/commit
(marker_byte_position): Renamed from marker_position.
authorRichard M. Stallman <rms@gnu.org>
Thu, 1 Jan 1998 02:35:09 +0000 (02:35 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 1 Jan 1998 02:35:09 +0000 (02:35 +0000)
commit1389ad718c988c0f423facf0e953178d3e24cf30
treefb851ed57b5978bbbba3b164d998686ab3441553
parent12adba3450a05ca94bb250094275fc601c35aa57
(marker_byte_position): Renamed from marker_position.
(marker_position): New function returns the charpos.
(Fbuffer_has_markers_at): Test the marker's charpos.
(set_marker_restricted, Fset_marker): Set both kinds of position.
Optimize case where POSITION is a marker.
(set_marker_both, set_marker_restricted_both): New functions.
(Fmarker_position): Use the charpos.

(charpos_to_bytepos, bytepos_to_charpos): New functions.
(buf_charpos_to_bytepos, buf_bytepos_to_charpos): New functions.
src/marker.c