changeset 17121:f8e2cd94c274

(Fcmpchar_cmp_rule): Escape newlines in docstring.
author Kenichi Handa <handa@m17n.org>
date Thu, 27 Feb 1997 11:12:11 +0000
parents c9c1bc92b8f8
children a5feb61ebe5c
files src/charset.c
diffstat 1 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/charset.c	Thu Feb 27 11:11:46 1997 +0000
+++ b/src/charset.c	Thu Feb 27 11:12:11 1997 +0000
@@ -1184,23 +1184,23 @@
 
 DEFUN ("composite-char-composition-rule", Fcmpchar_cmp_rule, Scmpchar_cmp_rule,
        2, 2, 0,
-  "Return the IDXth composition rule embedded in composite character CHARACTER.
-The returned rule is for composing the IDXth component
-on the (IDX-1)th component.  If IDX is 0, the returned value is always 255.")
-  (character, idx)
-     Lisp_Object character, idx;
+  "Return the Nth composition rule embedded in composite character CHARACTER.\n\
+The returned rule is for composing the Nth component\n\
+on the (N-1)th component.  If N is 0, the returned value is always 255.")
+  (character, n)
+     Lisp_Object character, n;
 {
   int id, i;
 
   CHECK_NUMBER (character, 0);
-  CHECK_NUMBER (idx, 1);
+  CHECK_NUMBER (n, 1);
 
   id = COMPOSITE_CHAR_ID (XINT (character));
   if (id < 0 || id >= n_cmpchars)
     error ("Invalid composite character: %d", XINT (character));
-  i = XINT (idx);
+  i = XINT (n);
   if (i > cmpchar_table[id]->glyph_len)
-    args_out_of_range (character, idx);
+    args_out_of_range (character, n);
 
   return make_number (cmpchar_table[id]->cmp_rule[i]);
 }