aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2005-07-21 16:25:59 +0000
committerJuanma Barranquero2005-07-21 16:25:59 +0000
commit2a0bd758b7c45138c8343f8a591ab8c77401b52b (patch)
tree97e4265c4f7335b13e5c025cc6dfe66d9399b25b
parentb8dc613f4501331628cc292c65ba0768d6537b2e (diff)
downloademacs-2a0bd758b7c45138c8343f8a591ab8c77401b52b.tar.gz
emacs-2a0bd758b7c45138c8343f8a591ab8c77401b52b.zip
(Fregister_ccl_program): Fix typos in docstring.
(Fccl_execute_on_string): Likewise; add usage info.
-rw-r--r--src/ccl.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ccl.c b/src/ccl.c
index b6381f7a0cb..9fb097d55df 100644
--- a/src/ccl.c
+++ b/src/ccl.c
@@ -2209,7 +2209,7 @@ DEFUN ("ccl-execute-on-string", Fccl_execute_on_string, Sccl_execute_on_string,
2209 3, 5, 0, 2209 3, 5, 0,
2210 doc: /* Execute CCL-PROGRAM with initial STATUS on STRING. 2210 doc: /* Execute CCL-PROGRAM with initial STATUS on STRING.
2211 2211
2212CCL-PROGRAM is a symbol registered by register-ccl-program, 2212CCL-PROGRAM is a symbol registered by `register-ccl-program',
2213or a compiled code generated by `ccl-compile' (for backward compatibility, 2213or a compiled code generated by `ccl-compile' (for backward compatibility,
2214in this case, the execution is slower). 2214in this case, the execution is slower).
2215 2215
@@ -2230,7 +2230,8 @@ It returns the contents of write buffer as a string,
2230If the optional 5th arg UNIBYTE-P is non-nil, the returned string 2230If the optional 5th arg UNIBYTE-P is non-nil, the returned string
2231is a unibyte string. By default it is a multibyte string. 2231is a unibyte string. By default it is a multibyte string.
2232 2232
2233See the documentation of `define-ccl-program' for the detail of CCL program. */) 2233See the documentation of `define-ccl-program' for the detail of CCL program.
2234usage: (ccl-execute-on-string CCL-PROGRAM STATUS STRING &optional CONTINUE UNIBYTE-P) */)
2234 (ccl_prog, status, str, contin, unibyte_p) 2235 (ccl_prog, status, str, contin, unibyte_p)
2235 Lisp_Object ccl_prog, status, str, contin, unibyte_p; 2236 Lisp_Object ccl_prog, status, str, contin, unibyte_p;
2236{ 2237{
@@ -2297,8 +2298,8 @@ See the documentation of `define-ccl-program' for the detail of CCL program. */
2297 2298
2298DEFUN ("register-ccl-program", Fregister_ccl_program, Sregister_ccl_program, 2299DEFUN ("register-ccl-program", Fregister_ccl_program, Sregister_ccl_program,
2299 2, 2, 0, 2300 2, 2, 0,
2300 doc: /* Register CCL program CCL_PROG as NAME in `ccl-program-table'. 2301 doc: /* Register CCL program CCL-PROG as NAME in `ccl-program-table'.
2301CCL_PROG should be a compiled CCL program (vector), or nil. 2302CCL-PROG should be a compiled CCL program (vector), or nil.
2302If it is nil, just reserve NAME as a CCL program name. 2303If it is nil, just reserve NAME as a CCL program name.
2303Return index number of the registered CCL program. */) 2304Return index number of the registered CCL program. */)
2304 (name, ccl_prog) 2305 (name, ccl_prog)