diff options
| author | Paul Eggert | 2014-04-01 13:18:12 -0700 |
|---|---|---|
| committer | Paul Eggert | 2014-04-01 13:18:12 -0700 |
| commit | 8ec49c53c67cfaee550f275c1a8b68d65b9b606f (patch) | |
| tree | 570a656b003ee5de09623df3a8d89f3fd1112e11 /src/ChangeLog | |
| parent | 21c625fdd0fffffb8420ec25fbcba1aed7e05248 (diff) | |
| download | emacs-8ec49c53c67cfaee550f275c1a8b68d65b9b606f.tar.gz emacs-8ec49c53c67cfaee550f275c1a8b68d65b9b606f.zip | |
* fns.c (validate_subarray): Rename from validate_substring,
since it works for vectors too. New arg ARRAY. Optimize for the
non-nil case. Instead of returning bool, throw an error if out of
range, so that the caller needn't do that. All uses changed.
Report original values if out of range.
(Fsubstring, Fsubstring_no_properties, secure_hash):
Also optimize the case where FROM is 0 or TO is the size.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 773a09121fd..6889fa9b4e6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2014-04-01 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * fns.c (validate_subarray): Rename from validate_substring, | ||
| 4 | since it works for vectors too. New arg ARRAY. Optimize for the | ||
| 5 | non-nil case. Instead of returning bool, throw an error if out of | ||
| 6 | range, so that the caller needn't do that. All uses changed. | ||
| 7 | Report original values if out of range. | ||
| 8 | (Fsubstring, Fsubstring_no_properties, secure_hash): | ||
| 9 | Also optimize the case where FROM is 0 or TO is the size. | ||
| 10 | |||
| 1 | 2014-03-31 Dmitry Antipov <dmantipov@yandex.ru> | 11 | 2014-03-31 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 12 | ||
| 3 | * search.c (Freplace_match): Use make_specified_string. | 13 | * search.c (Freplace_match): Use make_specified_string. |