diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-12-12 09:54:42 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-12-12 09:55:38 -0800 |
commit | 8a247f6059066636fbb60e79f6a9580ee9a81495 (patch) | |
tree | d149637a6ca2ddaca1d596dbfddefb6402c9ed3c /test/lisp/emacs-lisp/cl-preloaded-tests.el | |
parent | 23e9e8abaab6f0c90412fc5fae08e5995a26d84c (diff) | |
download | emacs-8a247f6059066636fbb60e79f6a9580ee9a81495.tar.gz emacs-8a247f6059066636fbb60e79f6a9580ee9a81495.tar.bz2 emacs-8a247f6059066636fbb60e79f6a9580ee9a81495.zip |
Simplify validate_interval_range and callers
* 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.
Diffstat (limited to 'test/lisp/emacs-lisp/cl-preloaded-tests.el')
0 files changed, 0 insertions, 0 deletions