]> git.eshelyaron.com Git - emacs.git/commit
Fix bignum bugs with nth, elt, =
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 21 Aug 2018 18:40:23 +0000 (11:40 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 21 Aug 2018 18:41:54 +0000 (11:41 -0700)
commit81e7eef8224c8a99a207b7a7b9dae1d598392ef7
tree1404996c717b76961b02c6a238242d63afc23660
parentad31afc35be2c64863a03b8f3995847332870cb6
Fix bignum bugs with nth, elt, =

* src/bytecode.c (exec_byte_code): Support bignums
when implementing nth, elt, and =.
* src/lisp.h (SMALL_LIST_LEN_MAX): New constant.
* src/fns.c (Fnthcdr): Use it.
(Felt): Do not reject bignum indexes.
src/bytecode.c
src/fns.c
src/lisp.h