changeset 4391:cbf129b005df

Clarify #'map-range-table docstring. 2008-01-12 Aidan Kehoe <kehoea@parhasard.net> * rangetab.c (Fmap_range_table): Clarify docstring. (If FUNCTION doesn't touch any range-table entry, things will also be correct.)
author Aidan Kehoe <kehoea@parhasard.net>
date Sat, 12 Jan 2008 18:04:13 +0100
parents 5902c5214a77
children e8f448f997ac cacc942c0d0f
files src/ChangeLog src/rangetab.c
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Jan 12 00:28:05 2008 +0100
+++ b/src/ChangeLog	Sat Jan 12 18:04:13 2008 +0100
@@ -1,3 +1,9 @@
+2008-01-12  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* rangetab.c (Fmap_range_table): 
+	Clarify docstring. (If FUNCTION doesn't touch any range-table
+	entry, things will also be correct.)
+
 2008-01-09  Aidan Kehoe  <kehoea@parhasard.net>
 
 	* config.h.in: 
--- a/src/rangetab.c	Sat Jan 12 00:28:05 2008 +0100
+++ b/src/rangetab.c	Sat Jan 12 18:04:13 2008 +0100
@@ -571,7 +571,8 @@
 Results are guaranteed to be correct (i.e. each entry processed
 exactly once) if FUNCTION modifies or deletes the current entry
 \(i.e. passes the current range to `put-range-table' or
-`remove-range-table'), but not otherwise.
+`remove-range-table').  If FUNCTION modifies or deletes any other entry,
+this guarantee doesn't hold.
 */
        (function, range_table))
 {