• Paul Eggert's avatar
    Simplify validate_interval_range and callers · 8a247f60
    Paul Eggert authored
    * src/textprop.c (validate_interval_range):
    Remove useless code.  Fix comment to match current behavior.
    (set_text_properties, copy_text_properties): Simplify, as
    validate_interval_range has not incremented START or END for
    quite some time.
    (copy_text_properties): Assume C99.  Fix an unlikely
    integer overflow bug if WIDE_EMACS_INT.
    8a247f60
textprop.c 70.7 KB