comparison lwlib/dispatch.c @ 20537:cc87b03bad13

(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.
author Richard M. Stallman <rms@gnu.org>
date Thu, 01 Jan 1998 02:35:09 +0000
parents ee40177f6c68
children e0d966fb548f
comparison
equal deleted inserted replaced
20536:8f88438d9f61 20537:cc87b03bad13