]> git.eshelyaron.com Git - emacs.git/commitdiff
(syms_of_composite): Fix docstring of
authorKenichi Handa <handa@m17n.org>
Tue, 25 Dec 2007 11:07:00 +0000 (11:07 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 25 Dec 2007 11:07:00 +0000 (11:07 +0000)
auto-composition-function.

src/composite.c

index a8317968cae5581c12b69c559299adc4a10aff36..921640c2eb1109be43a44c3b0d5754a64889961f 100644 (file)
@@ -838,15 +838,15 @@ The default value is the function `compose-chars-after'.  */);
 
   DEFVAR_LISP ("auto-composition-function", &Vauto_composition_function,
               doc: /* Function to call to compose characters automatically.
-The function is called from the display routine with two arguments,
-POS and STRING.
+The function is called from the display routine with four arguments,
+FROM, TO, WINDOW, and STRING.
 
-If STRING is nil, the function must compose characters following POS
-in the current buffer.
+If STRING is nil, the function must compose characters in the region
+between FROM and TO in the current buffer.
 
-Otherwise, STRING is a string, and POS is an index to the string.  In
-this case, the function must compose characters following POS in
-the string.  */);
+Otherwise, STRING is a string, and FROM and TO are indices into the
+string.  In this case, the function must compose characters in the
+string.  */);
   Vauto_composition_function = Qnil;
 
   defsubr (&Scompose_region_internal);