]> git.eshelyaron.com Git - emacs.git/commit
Omit a few minor unnecessary range checks
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 27 Jun 2019 19:31:27 +0000 (12:31 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 27 Jun 2019 19:35:09 +0000 (12:35 -0700)
commit06d2eb33e1d189eee8d89cb5159f779e1600c4f2
tree9b3e12a395e5dcf578f7604605e1c547ed6fe237
parentf59a3f3d61c7da8a22ddb13185ae2271865ae155
Omit a few minor unnecessary range checks

Based on Pip Cet’s review (Bug#36370#19).
* src/fileio.c (Fdo_auto_save):
* src/image.c (lookup_image):
* src/textprop.c (Fnext_single_char_property_change):
Prefer XFIXNUM to XFIXNAT for clarity and consistency with
neighboring code, and to avoid unnecessary range checks.
* src/image.c (lookup_image): Omit unnecessary range checks.
src/fileio.c
src/image.c
src/textprop.c