Mercurial > hg > xemacs-beta
comparison src/ChangeLog @ 5852:e9bb3688e654
Fix some bugs in #'substitute, #'nsubstitute.
src/ChangeLog addition:
2015-03-04 Aidan Kehoe <kehoea@parhasard.net>
* sequence.c (count_with_tail):
Accept COUNT from #'substitute, #'nsubstitute too.
* sequence.c (FdeleteX):
Only remove COUNT from the arguments if FROM-END is non-nil.
* sequence.c (Fnsubstitute):
Remove COUNT from the arguments if specified and FROM-END is
non-nil.
* sequence.c (Fsubstitute):
Remove COUNT from the arguments if specified and FROM-END is
non-nil. Do this before calling count_with_tail(). When we
encounter the cons return by count_with_tail(), use the
replacement object.
tests/ChangeLog addition:
2015-03-04 Aidan Kehoe <kehoea@parhasard.net>
* automated/lisp-tests.el:
Add some tests for #'substitute.
| author | Aidan Kehoe <kehoea@parhasard.net> |
|---|---|
| date | Wed, 04 Mar 2015 15:54:00 +0000 |
| parents | 69f9e31c9ccf |
| children | 6ec4964c1687 a45722e74335 |
comparison
equal
deleted
inserted
replaced
| 5851:eabf763bc6f9 | 5852:e9bb3688e654 |
|---|---|
| 1 2015-03-04 Aidan Kehoe <kehoea@parhasard.net> | |
| 2 | |
| 3 * sequence.c (count_with_tail): | |
| 4 Accept COUNT from #'substitute, #'nsubstitute too. | |
| 5 * sequence.c (FdeleteX): | |
| 6 Only remove COUNT from the arguments if FROM-END is non-nil. | |
| 7 * sequence.c (Fnsubstitute): | |
| 8 Remove COUNT from the arguments if specified and FROM-END is | |
| 9 non-nil. | |
| 10 * sequence.c (Fsubstitute): | |
| 11 Remove COUNT from the arguments if specified and FROM-END is | |
| 12 non-nil. Do this before calling count_with_tail(). When we | |
| 13 encounter the cons return by count_with_tail(), use the | |
| 14 replacement object. | |
| 15 | |
| 1 2015-01-08 Stephen J. Turnbull <stephen@xemacs.org> | 16 2015-01-08 Stephen J. Turnbull <stephen@xemacs.org> |
| 2 | 17 |
| 3 Fix progress bar crashes. | 18 Fix progress bar crashes. |
| 4 Thanks to Ralf Soergel for diagnosis and a patch. | 19 Thanks to Ralf Soergel for diagnosis and a patch. |
| 5 | 20 |
