Mercurial > emacs
changeset 91287:ac1b29b04053
(syms_of_composite): Fix docstring of
auto-composition-function.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 25 Dec 2007 11:07:00 +0000 |
parents | 67e2a701488c |
children | 7c15e9e565b7 |
files | src/composite.c |
diffstat | 1 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/composite.c Tue Dec 25 11:06:24 2007 +0000 +++ b/src/composite.c Tue Dec 25 11:07:00 2007 +0000 @@ -838,15 +838,15 @@ 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);