Mercurial > hg > xemacs-beta
comparison src/editfns.c @ 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 | 80cd90837ac5 |
comparison
equal
deleted
inserted
replaced
4469:c661944aa259 | 4470:c76b1bc6bd28 |
---|---|
1823 with code N. The values of elements may be characters, strings, or | 1823 with code N. The values of elements may be characters, strings, or |
1824 nil (nil meaning don't replace.) | 1824 nil (nil meaning don't replace.) |
1825 | 1825 |
1826 If TABLE is a char-table, its elements describe the mapping between | 1826 If TABLE is a char-table, its elements describe the mapping between |
1827 characters and their replacements. The char-table should be of type `char' | 1827 characters and their replacements. The char-table should be of type `char' |
1828 or `generic'. If the value given by `put-char-table' for a given character | 1828 or `generic'. If the value given by `get-char-table' for a given character |
1829 is nil, that character will not be translated by `translate-region'. Since | 1829 is nil, that character will not be translated by `translate-region'. Since |
1830 `char' char-tables can never return nil to `put-char-table', and since most | 1830 `get-char-table' can never return nil with a char table of type `char', and |
1831 translation involves a subset of the possible XEmacs characters, not all of | 1831 since most translation involves a subset of the possible XEmacs characters, |
1832 them, the most generally useful table type here is `generic'. | 1832 not all of them, the most generally useful table type here is `generic'. |
1833 | 1833 |
1834 Returns the number of substitutions performed. | 1834 Returns the number of substitutions performed. |
1835 */ | 1835 */ |
1836 (start, end, table)) | 1836 (start, end, table)) |
1837 { | 1837 { |