# HG changeset patch # User stephent # Date 1143378317 0 # Node ID 3d54e5f2dfb032bf8abe2e66d7f4922ec05a657a # Parent abb6e10c1d0590469bc04006d3826459e800e84f [xemacs-hg @ 2006-03-26 13:05:14 by stephent] Make {en,de}code-coding-region interactive commands. <877j6hnyuj.fsf@tleepslib.sk.tsukuba.ac.jp> diff -r abb6e10c1d05 -r 3d54e5f2dfb0 src/ChangeLog --- a/src/ChangeLog Sat Mar 25 22:51:19 2006 +0000 +++ b/src/ChangeLog Sun Mar 26 13:05:17 2006 +0000 @@ -1,3 +1,8 @@ +2006-03-24 Stephen J. Turnbull + + * file-coding.c (decode-coding-region, encode-coding-region): + Convert to interactive commands, and adjust docstrings. + 2006-03-21 Malcolm Purvis * regex.c: Bump INIT_FAILURE_ALLOC and re_max_failures to the diff -r abb6e10c1d05 -r 3d54e5f2dfb0 src/file-coding.c --- a/src/file-coding.c Sat Mar 25 22:51:19 2006 +0000 +++ b/src/file-coding.c Sun Mar 26 13:05:17 2006 +0000 @@ -2288,13 +2288,14 @@ } } -DEFUN ("decode-coding-region", Fdecode_coding_region, 3, 4, 0, /* +DEFUN ("decode-coding-region", Fdecode_coding_region, 3, 4, + "*r\nzDecode from coding system: \ni", /* Decode the text between START and END which is encoded in CODING-SYSTEM. This is useful if you've read in encoded text from a file without decoding it (e.g. you read in a JIS-formatted file but used the `binary' or `no-conversion' coding system, so that it shows up as "^[$B!