changeset 4470:c76b1bc6bd28

Correct a thinko in the #'translate-region docstring 2008-05-27 Aidan Kehoe <kehoea@parhasard.net> * editfns.c (Ftranslate_region): Correct a thinko in the last commit; I meant #'get-char-table, not #'put-char-table.
author Aidan Kehoe <kehoea@parhasard.net>
date Tue, 27 May 2008 12:01:29 +0200
parents c661944aa259
children 2d39535e1f9d
files src/ChangeLog src/editfns.c
diffstat 2 files changed, 10 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun May 25 22:54:33 2008 +0200
+++ b/src/ChangeLog	Tue May 27 12:01:29 2008 +0200
@@ -1,3 +1,9 @@
+2008-05-27  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* editfns.c (Ftranslate_region):  
+	Correct a thinko in the last commit; I meant #'get-char-table, not
+	#'put-char-table. 
+
 2008-05-25  Aidan Kehoe  <kehoea@parhasard.net>
 
 	* chartab.c (Fmake_char_table): 
--- a/src/editfns.c	Sun May 25 22:54:33 2008 +0200
+++ b/src/editfns.c	Tue May 27 12:01:29 2008 +0200
@@ -1825,11 +1825,11 @@
 
 If TABLE is a char-table, its elements describe the mapping between
 characters and their replacements.  The char-table should be of type `char'
-or `generic'.  If the value given by `put-char-table' for a given character
+or `generic'.  If the value given by `get-char-table' for a given character
 is nil, that character will not be translated by `translate-region'.  Since
-`char' char-tables can never return nil to `put-char-table', and since most
-translation involves a subset of the possible XEmacs characters, not all of
-them, the most generally useful table type here is `generic'.
+`get-char-table' can never return nil with a char table of type `char', and
+since most translation involves a subset of the possible XEmacs characters,
+not all of them, the most generally useful table type here is `generic'.
 
 Returns the number of substitutions performed.
 */