* ChangeLog.2: Formatting update.

Formatting for one change entry did not follow standard ChangeLog
conventions and has now been updated.
This commit is contained in:
Phillip Lord
2015-08-10 23:04:05 +01:00
parent 59676ae9e9
commit 21e1673be3

View File

@@ -86,15 +86,21 @@
2015-08-07 Phillip Lord <phillip.lord@newcastle.ac.uk>
Improve error signalling for seq-subseq.
The existing behaviour for seq-subseq is to error when indexes are too
large, but to silently ignore numbers which are too negative for lists.
String and vector handling errors in both cases. This has been
regularlised.
Error signalling behaviour has been explicitly added to the docstring of
seq-subseq, and also to cl-subseq which largely defers to
seq-subseq (and is therefore also impacted by this change).
Tests have been added for these exceptional cases, as well as one non
exceptional base case.
* lisp/seq.el (seq-subseq): The existing behaviour is to error
when indexes are too large, but to silently ignore numbers which
are too negative for lists. String and vector handling errors in
both cases. This has been regularlised. Error signalling behaviour
has been explicitly added to the docstring.
* lisp/cl-extra.el (cl-subseq): Defers to (seq-subseq) and is
therefore also impacted by this change. The docstring has been
updated to reflect this.
* test/automated/seq-tests.el (test-seq-subseq): Tests have been
added for these exceptional cases, as well as one non exceptional
base case.
2015-08-07 Jürgen Hötzel <juergen@archlinux.org>