summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cursor-sensor.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-08-18 20:40:10 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2018-08-18 20:41:09 -0700
commitb1840206ff22359fc099236602928e0fb3828d66 (patch)
treedc7a23519474955ed4efcbd975c79c0629a96a2b /lisp/emacs-lisp/cursor-sensor.el
parent6eade1efde873d0b048d8f2841646924cb2ceb16 (diff)
downloademacs-b1840206ff22359fc099236602928e0fb3828d66.tar.gz
emacs-b1840206ff22359fc099236602928e0fb3828d66.tar.bz2
emacs-b1840206ff22359fc099236602928e0fb3828d66.zip
Minor fixups for intmax_t→mpz_t conversion
* src/alloc.c (mpz_set_intmax_slow): Tighten assertion. Work even in the unlikely case where libgmp uses nails. * src/data.c (FIXNUMS_FIT_IN_LONG): New constant. (arith_driver): Use it to tighten compile-time checks. * src/lisp.h (mpz_set_intmax): Do not assume that converting an out-of-range value to ‘long’ is harmless, as it might raise a signal. Use simpler expression; compiler can optimize.
Diffstat (limited to 'lisp/emacs-lisp/cursor-sensor.el')
0 files changed, 0 insertions, 0 deletions