diff options
author | Paul Eggert <eggert@Penguin.CS.UCLA.EDU> | 2018-08-21 02:05:07 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-08-21 02:05:31 -0700 |
commit | 77fc2725985b4e5ef977ae6930835c7f0771c61c (patch) | |
tree | c578f223cba18da66b1a7cb7a38ef7e8c29e1967 /src/floatfns.c | |
parent | eb83344fc7c08ec08b51e7700f1ac2632afa462c (diff) | |
download | emacs-77fc2725985b4e5ef977ae6930835c7f0771c61c.tar.gz emacs-77fc2725985b4e5ef977ae6930835c7f0771c61c.tar.bz2 emacs-77fc2725985b4e5ef977ae6930835c7f0771c61c.zip |
Fix glitches introduced by nthcdr changes
* src/fns.c (Fnthcdr): Fix recently-introduced bug when
nthcdr is supposed to yield a non-nil non-cons.
Reported by Glenn Morris and by Pip Cet here:
https://lists.gnu.org/r/emacs-devel/2018-08/msg00699.html
https://lists.gnu.org/r/emacs-devel/2018-08/msg00708.html
Speed up nthcdr for small N, as suggested by Pip Cet here:
https://lists.gnu.org/r/emacs-devel/2018-08/msg00707.html
* test/src/fns-tests.el (test-nthcdr-simple): New test.
Diffstat (limited to 'src/floatfns.c')
0 files changed, 0 insertions, 0 deletions