• Dmitry Antipov's avatar
    Avoid unnecessary byte position calculation for the gap movement. · 6020559a
    Dmitry Antipov authored
    Since all users of move_gap do CHAR_TO_BYTE for other purposes
    anyway, all of them should use move_gap_both instead.
    * lisp.h (move_gap): Remove prototype.
    * insdel.c (move_gap): Remove.
    (move_gap_both): Add eassert.
    * editfns.c (Ftranspose_regions): Tweak to use move_gap_both.
    * xml.c (parse_region): Likewise.
ChangeLog 838 KB