emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/composite.c


From: Kenichi Handa
Subject: [Emacs-diffs] Changes to emacs/src/composite.c
Date: Thu, 28 Feb 2002 20:18:10 -0500

Index: emacs/src/composite.c
diff -c emacs/src/composite.c:1.16 emacs/src/composite.c:1.17
*** emacs/src/composite.c:1.16  Fri Nov  2 15:21:05 2001
--- emacs/src/composite.c       Tue Nov 13 02:44:43 2001
***************
*** 717,728 ****
  
  DEFUN ("compose-region-internal", Fcompose_region_internal,
         Scompose_region_internal, 2, 4, 0,
!   "Internal use only.\n\
! \n\
! Compose text in the region between START and END.\n\
! Optional 3rd and 4th arguments are COMPONENTS and MODIFICATION-FUNC\n\
! for the composition.   See `compose-region' for more detial.")
!   (start, end, components, mod_func)
       Lisp_Object start, end, components, mod_func;
  {
    validate_region (&start, &end);
--- 717,728 ----
  
  DEFUN ("compose-region-internal", Fcompose_region_internal,
         Scompose_region_internal, 2, 4, 0,
!        doc: /* Internal use only.
! 
! Compose text in the region between START and END.
! Optional 3rd and 4th arguments are COMPONENTS and MODIFICATION-FUNC
! for the composition.   See `compose-region' for more detial. */)
!      (start, end, components, mod_func)
       Lisp_Object start, end, components, mod_func;
  {
    validate_region (&start, &end);
***************
*** 738,749 ****
  
  DEFUN ("compose-string-internal", Fcompose_string_internal,
         Scompose_string_internal, 3, 5, 0,
!   "Internal use only.\n\
! \n\
! Compose text between indices START and END of STRING.\n\
! Optional 4th and 5th arguments are COMPONENTS and MODIFICATION-FUNC\n\
! for the composition.   See `compose-string' for more detial.")
!   (string, start, end, components, mod_func)
       Lisp_Object string, start, end, components, mod_func;
  {
    CHECK_STRING (string);
--- 738,749 ----
  
  DEFUN ("compose-string-internal", Fcompose_string_internal,
         Scompose_string_internal, 3, 5, 0,
!        doc: /* Internal use only.
! 
! Compose text between indices START and END of STRING.
! Optional 4th and 5th arguments are COMPONENTS and MODIFICATION-FUNC
! for the composition.   See `compose-string' for more detial.  */)
!      (string, start, end, components, mod_func)
       Lisp_Object string, start, end, components, mod_func;
  {
    CHECK_STRING (string);
***************
*** 761,771 ****
  
  DEFUN ("find-composition-internal", Ffind_composition_internal,
         Sfind_composition_internal, 4, 4, 0, 
!   "Internal use only.\n\
! \n\
! Return information about composition at or nearest to position POS.\n\
! See `find-composition' for more detail.")
!   (pos, limit, string, detail_p)
       Lisp_Object pos, limit, string, detail_p;
  {
    Lisp_Object prop, tail;
--- 761,771 ----
  
  DEFUN ("find-composition-internal", Ffind_composition_internal,
         Sfind_composition_internal, 4, 4, 0, 
!        doc: /* Internal use only.
! 
! Return information about composition at or nearest to position POS.
! See `find-composition' for more detail.  */)
!      (pos, limit, string, detail_p)
       Lisp_Object pos, limit, string, detail_p;
  {
    Lisp_Object prop, tail;
***************
*** 861,877 ****
      = Fcons (Fcons (Qcomposition, Qt), Vtext_property_default_nonsticky);
  
    DEFVAR_LISP ("compose-chars-after-function", &Vcompose_chars_after_function,
!     "Function to adjust composition of buffer text.\n\
! \n\
! The function is called with three arguments FROM, TO, and OBJECT.\n\
! FROM and TO specify the range of text of which composition should be\n\
! adjusted.  OBJECT, if non-nil, is a string that contains the text.\n\
! \n\
! This function is called after a text with `composition' property is\n\
! inserted or deleted to keep `composition' property of buffer text\n\
! valid.\n\
! \n\
! The default value is the function `compose-chars-after'.");
    Vcompose_chars_after_function = intern ("compose-chars-after");
  
    Qcomposition_function_table = intern ("composition-function-table");
--- 861,877 ----
      = Fcons (Fcons (Qcomposition, Qt), Vtext_property_default_nonsticky);
  
    DEFVAR_LISP ("compose-chars-after-function", &Vcompose_chars_after_function,
!              doc: /* Function to adjust composition of buffer text.
! 
! The function is called with three arguments FROM, TO, and OBJECT.
! FROM and TO specify the range of text of which composition should be
! adjusted.  OBJECT, if non-nil, is a string that contains the text.
! 
! This function is called after a text with `composition' property is
! inserted or deleted to keep `composition' property of buffer text
! valid.
! 
! The default value is the function `compose-chars-after'.  */);
    Vcompose_chars_after_function = intern ("compose-chars-after");
  
    Qcomposition_function_table = intern ("composition-function-table");
***************
*** 885,900 ****
    Fput (Qcomposition_function_table, Qchar_table_extra_slots, make_number 
(0));
  
    DEFVAR_LISP ("composition-function-table", &Vcomposition_function_table,
!     "Char table of patterns and functions to make a composition.\n\
! \n\
! Each element is nil or an alist of PATTERNs vs FUNCs, where PATTERNs\n\
! are regular expressions and FUNCs are functions.  FUNC is responsible\n\
! for composing text matching the corresponding PATTERN.  FUNC is called\n\
! with three arguments FROM, TO, and PATTERN.  See the function\n\
! `compose-chars-after' for more detail.\n\
! \n\
! This table is looked up by the first character of a composition when\n\
! the composition gets invalid after a change in a buffer.");
    Vcomposition_function_table
      = Fmake_char_table (Qcomposition_function_table, Qnil);
  
--- 885,900 ----
    Fput (Qcomposition_function_table, Qchar_table_extra_slots, make_number 
(0));
  
    DEFVAR_LISP ("composition-function-table", &Vcomposition_function_table,
!              doc: /* Char table of patterns and functions to make a 
composition.
! 
! Each element is nil or an alist of PATTERNs vs FUNCs, where PATTERNs
! are regular expressions and FUNCs are functions.  FUNC is responsible
! for composing text matching the corresponding PATTERN.  FUNC is called
! with three arguments FROM, TO, and PATTERN.  See the function
! `compose-chars-after' for more detail.
! 
! This table is looked up by the first character of a composition when
! the composition gets invalid after a change in a buffer.  */);
    Vcomposition_function_table
      = Fmake_char_table (Qcomposition_function_table, Qnil);
  



reply via email to

[Prev in Thread] Current Thread [Next in Thread]