diff options
| author | Juanma Barranquero | 2005-07-21 16:28:00 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2005-07-21 16:28:00 +0000 |
| commit | d562f8abe78b39316a84c6dc5d96de858b7331f4 (patch) | |
| tree | bc7236421c1c9eff7f3847b10171af1134d53fe4 /src/composite.c | |
| parent | 2a0bd758b7c45138c8343f8a591ab8c77401b52b (diff) | |
| download | emacs-d562f8abe78b39316a84c6dc5d96de858b7331f4.tar.gz emacs-d562f8abe78b39316a84c6dc5d96de858b7331f4.zip | |
(Fcompose_region_internal, Fcompose_string_internal):
Improve argument/docstring consistency.
Diffstat (limited to 'src/composite.c')
| -rw-r--r-- | src/composite.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/composite.c b/src/composite.c index dffac5c01f9..fecbe8020f6 100644 --- a/src/composite.c +++ b/src/composite.c | |||
| @@ -716,8 +716,8 @@ DEFUN ("compose-region-internal", Fcompose_region_internal, | |||
| 716 | Compose text in the region between START and END. | 716 | Compose text in the region between START and END. |
| 717 | Optional 3rd and 4th arguments are COMPONENTS and MODIFICATION-FUNC | 717 | Optional 3rd and 4th arguments are COMPONENTS and MODIFICATION-FUNC |
| 718 | for the composition. See `compose-region' for more detail. */) | 718 | for the composition. See `compose-region' for more detail. */) |
| 719 | (start, end, components, mod_func) | 719 | (start, end, components, modification_func) |
| 720 | Lisp_Object start, end, components, mod_func; | 720 | Lisp_Object start, end, components, modification_func; |
| 721 | { | 721 | { |
| 722 | validate_region (&start, &end); | 722 | validate_region (&start, &end); |
| 723 | if (!NILP (components) | 723 | if (!NILP (components) |
| @@ -726,7 +726,7 @@ for the composition. See `compose-region' for more detail. */) | |||
| 726 | && !STRINGP (components)) | 726 | && !STRINGP (components)) |
| 727 | CHECK_VECTOR (components); | 727 | CHECK_VECTOR (components); |
| 728 | 728 | ||
| 729 | compose_text (XINT (start), XINT (end), components, mod_func, Qnil); | 729 | compose_text (XINT (start), XINT (end), components, modification_func, Qnil); |
| 730 | return Qnil; | 730 | return Qnil; |
| 731 | } | 731 | } |
| 732 | 732 | ||
| @@ -737,8 +737,8 @@ DEFUN ("compose-string-internal", Fcompose_string_internal, | |||
| 737 | Compose text between indices START and END of STRING. | 737 | Compose text between indices START and END of STRING. |
| 738 | Optional 4th and 5th arguments are COMPONENTS and MODIFICATION-FUNC | 738 | Optional 4th and 5th arguments are COMPONENTS and MODIFICATION-FUNC |
| 739 | for the composition. See `compose-string' for more detail. */) | 739 | for the composition. See `compose-string' for more detail. */) |
| 740 | (string, start, end, components, mod_func) | 740 | (string, start, end, components, modification_func) |
| 741 | Lisp_Object string, start, end, components, mod_func; | 741 | Lisp_Object string, start, end, components, modification_func; |
| 742 | { | 742 | { |
| 743 | CHECK_STRING (string); | 743 | CHECK_STRING (string); |
| 744 | CHECK_NUMBER (start); | 744 | CHECK_NUMBER (start); |
| @@ -749,7 +749,7 @@ for the composition. See `compose-string' for more detail. */) | |||
| 749 | || XINT (end) > SCHARS (string)) | 749 | || XINT (end) > SCHARS (string)) |
| 750 | args_out_of_range (start, end); | 750 | args_out_of_range (start, end); |
| 751 | 751 | ||
| 752 | compose_text (XINT (start), XINT (end), components, mod_func, string); | 752 | compose_text (XINT (start), XINT (end), components, modification_func, string); |
| 753 | return string; | 753 | return string; |
| 754 | } | 754 | } |
| 755 | 755 | ||