User: stephent
Date: 06/03/26 15:05:19
Modified: xemacs/src ChangeLog file-coding.c
Log:
Make {en,de}code-coding-region interactive commands.
<877j6hnyuj.fsf(a)tleepslib.sk.tsukuba.ac.jp>
Revision Changes Path
1.931 +5 -0 XEmacs/xemacs/src/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/ChangeLog,v
retrieving revision 1.930
retrieving revision 1.931
diff -u -p -r1.930 -r1.931
--- ChangeLog 2006/03/25 11:27:43 1.930
+++ ChangeLog 2006/03/26 13:05:14 1.931
@@ -1,3 +1,8 @@
+2006-03-24 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * file-coding.c (decode-coding-region, encode-coding-region):
+ Convert to interactive commands, and adjust docstrings.
+
2006-03-21 Malcolm Purvis <malcolmp(a)xemacs.org>
* regex.c: Bump INIT_FAILURE_ALLOC and re_max_failures to the
1.52 +7 -5 XEmacs/xemacs/src/file-coding.c
Index: file-coding.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/file-coding.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -p -r1.51 -r1.52
--- file-coding.c 2006/02/27 16:29:25 1.51
+++ file-coding.c 2006/03/26 13:05:17 1.52
@@ -2288,13 +2288,14 @@ encode_decode_coding_region (Lisp_Object
}
}
-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!<!+^[(B").
Return length of decoded text.
-BUFFER defaults to the current buffer if unspecified.
+BUFFER defaults to the current buffer if unspecified, and when interactive.
*/
(start, end, coding_system, buffer))
{
@@ -2302,11 +2303,12 @@ BUFFER defaults to the current buffer if
CODING_DECODE);
}
-DEFUN ("encode-coding-region", Fencode_coding_region, 3, 4, 0, /*
+DEFUN ("encode-coding-region", Fencode_coding_region, 3, 4,
+ "*r\nzEncode to coding system: \ni", /*
Encode the text between START and END using CODING-SYSTEM.
This will, for example, convert Japanese characters into stuff such as
-"^[$B!<!+^[(B" if you use the JIS encoding. Return length of encoded
-text. BUFFER defaults to the current buffer if unspecified.
+"^[$B!<!+^[(B" if you use the JIS encoding. Return length of encoded text.
+BUFFER defaults to the current buffer if unspecified, and when interactive.
*/
(start, end, coding_system, buffer))
{
Show replies by date