/[emacs]/emacs/src/category.c
ViewVC logotype

Diff of /emacs/src/category.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.30.2.2 by fx, Thu May 23 18:44:45 2002 UTC revision 1.30.2.3 by handa, Wed Jun 12 00:12:34 2002 UTC
# Line 364  then delete CATEGORY from the category s Line 364  then delete CATEGORY from the category s
364    while (start <= end)    while (start <= end)
365      {      {
366        category_set = char_table_ref_and_range (table, start, &from, &to);        category_set = char_table_ref_and_range (table, start, &from, &to);
367        if (from < start || to > end)        if (CATEGORY_MEMBER (category, category_set) != NILP (reset))
         category_set = Fcopy_sequence (category_set);  
       SET_CATEGORY_SET (category_set, category, set_value);  
       if (from < start)  
368          {          {
369              category_set = Fcopy_sequence (category_set);
370              SET_CATEGORY_SET (category_set, category, set_value);
371            if (to > end)            if (to > end)
372              char_table_set_range (table, start, end, category_set);              char_table_set_range (table, start, end, category_set);
373            else            else
374              char_table_set_range (table, start, to, category_set);              char_table_set_range (table, start, to, category_set);
375          }          }
       else if (to > end)  
         char_table_set_range (table, start, end, category_set);  
376        start = to + 1;        start = to + 1;
377      }      }
378    return Qnil;    return Qnil;

Legend:
Removed from v.1.30.2.2  
changed lines
  Added in v.1.30.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26