# HG changeset patch # User Aidan Kehoe # Date 1211882489 -7200 # Node ID c76b1bc6bd28adf5c762d5575a55b9ac49dddc7b # Parent c661944aa2597457798ce30bdaa6ac6ddbc8c3b0 Correct a thinko in the #'translate-region docstring 2008-05-27 Aidan Kehoe * editfns.c (Ftranslate_region): Correct a thinko in the last commit; I meant #'get-char-table, not #'put-char-table. diff -r c661944aa259 -r c76b1bc6bd28 src/ChangeLog --- 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 + + * 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 * chartab.c (Fmake_char_table): diff -r c661944aa259 -r c76b1bc6bd28 src/editfns.c --- 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. */