summaryrefslogtreecommitdiff
path: root/src/composite.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2007-12-25 11:07:00 +0000
committerKenichi Handa <handa@m17n.org>2007-12-25 11:07:00 +0000
commitddc872bac65df28b19e5a1b85de58068a0559aaf (patch)
tree6b2473f5c241e44b82378754d73d2a6bdc27dece /src/composite.c
parent95a097c435582932d0e7811303888d752a793d9e (diff)
downloademacs-ddc872bac65df28b19e5a1b85de58068a0559aaf.tar.gz
(syms_of_composite): Fix docstring of
auto-composition-function.
Diffstat (limited to 'src/composite.c')
-rw-r--r--src/composite.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/composite.c b/src/composite.c
index a8317968cae..921640c2eb1 100644
--- a/src/composite.c
+++ b/src/composite.c
@@ -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);