Mercurial > emacs
comparison src/composite.c @ 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 | 17bc979cf2b7 |
children | 606f2d163a64 |
comparison
equal
deleted
inserted
replaced
91286:67e2a701488c | 91287:ac1b29b04053 |
---|---|
836 Qauto_composition_function = intern ("auto-composition-function"); | 836 Qauto_composition_function = intern ("auto-composition-function"); |
837 staticpro (&Qauto_composition_function); | 837 staticpro (&Qauto_composition_function); |
838 | 838 |
839 DEFVAR_LISP ("auto-composition-function", &Vauto_composition_function, | 839 DEFVAR_LISP ("auto-composition-function", &Vauto_composition_function, |
840 doc: /* Function to call to compose characters automatically. | 840 doc: /* Function to call to compose characters automatically. |
841 The function is called from the display routine with two arguments, | 841 The function is called from the display routine with four arguments, |
842 POS and STRING. | 842 FROM, TO, WINDOW, and STRING. |
843 | 843 |
844 If STRING is nil, the function must compose characters following POS | 844 If STRING is nil, the function must compose characters in the region |
845 in the current buffer. | 845 between FROM and TO in the current buffer. |
846 | 846 |
847 Otherwise, STRING is a string, and POS is an index to the string. In | 847 Otherwise, STRING is a string, and FROM and TO are indices into the |
848 this case, the function must compose characters following POS in | 848 string. In this case, the function must compose characters in the |
849 the string. */); | 849 string. */); |
850 Vauto_composition_function = Qnil; | 850 Vauto_composition_function = Qnil; |
851 | 851 |
852 defsubr (&Scompose_region_internal); | 852 defsubr (&Scompose_region_internal); |
853 defsubr (&Scompose_string_internal); | 853 defsubr (&Scompose_string_internal); |
854 defsubr (&Sfind_composition_internal); | 854 defsubr (&Sfind_composition_internal); |