Mercurial > hg > xemacs-beta
comparison src/ChangeLog @ 5300:9f738305f80f
Accept sequences generally, not just lists, #'reverse, #'nreverse.
src/ChangeLog addition:
2010-11-06 Aidan Kehoe <kehoea@parhasard.net>
* bytecode.c (bytecode_nreverse): Call Fnreverse() if SEQUENCE is
not a cons in this function.
(Fnreverse, Freverse):
Accept sequences, not just lists, in these functions.
man/ChangeLog addition:
2010-11-06 Aidan Kehoe <kehoea@parhasard.net>
* lispref/lists.texi (Rearrangement, Building Lists):
Document that #'nreverse and #'reverse now accept sequences, not
just lists, in this file.
tests/ChangeLog addition:
2010-11-06 Aidan Kehoe <kehoea@parhasard.net>
* automated/lisp-tests.el (list-nreverse):
Check that #'reverse and #'nreverse handle non-list sequences
properly.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sat, 06 Nov 2010 21:18:52 +0000 |
parents | 28651c24b3f8 |
children | 6468cf6f0b9d |
comparison
equal
deleted
inserted
replaced
5299:28651c24b3f8 | 5300:9f738305f80f |
---|---|
1 2010-11-06 Aidan Kehoe <kehoea@parhasard.net> | |
2 | |
3 * bytecode.c (bytecode_nreverse): Call Fnreverse() if SEQUENCE is | |
4 not a cons in this function. | |
5 (Fnreverse, Freverse): | |
6 Accept sequences, not just lists, in these functions. | |
7 | |
1 2010-11-06 Aidan Kehoe <kehoea@parhasard.net> | 8 2010-11-06 Aidan Kehoe <kehoea@parhasard.net> |
2 | 9 |
3 * fns.c (Flist_length): Error if LIST is dotted in this function; | 10 * fns.c (Flist_length): Error if LIST is dotted in this function; |
4 document this behaviour. | 11 document this behaviour. |
5 | 12 |