summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2020-08-24 13:12:51 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2020-08-24 13:17:48 -0700
commite0345b4e86154f42f47a9f7bbbf458a72bf5c06d (patch)
tree6c1b31e29066b2effe859d037a57d5c7c9cf442a /m4
parent08a6d14e4116c74284c12dd1319780afbcbbfd1d (diff)
downloademacs-e0345b4e86154f42f47a9f7bbbf458a72bf5c06d.tar.gz
emacs-e0345b4e86154f42f47a9f7bbbf458a72bf5c06d.tar.bz2
emacs-e0345b4e86154f42f47a9f7bbbf458a72bf5c06d.zip
replace-buffer-contents cleanups
* src/editfns.c (NOTE_DELETE, NOTE_INSERT): Avoid unnecessary parens. (Freplace_buffer_contents): Check args before returning results. Avoid integer overflow when computing too_expensive, and work even if MAX-COSTS is bignum. Call alloca and/or malloc just once, not three times. (set_bit, bit_is_set): Simplify micro-optimization by using eassume.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions