comparison src/category.c @ 88850:6f9164905a7c

(Fmodify_category_entry): Fix CATEGORY_MEMBER call.
author Dave Love <fx@gnu.org>
date Tue, 16 Jul 2002 14:56:33 +0000
parents a93a8b796b91
children 9320c2f4f351
comparison
equal deleted inserted replaced
88849:57897041678c 88850:6f9164905a7c
362 set_value = NILP (reset) ? Qt : Qnil; 362 set_value = NILP (reset) ? Qt : Qnil;
363 363
364 while (start <= end) 364 while (start <= end)
365 { 365 {
366 category_set = char_table_ref_and_range (table, start, &from, &to); 366 category_set = char_table_ref_and_range (table, start, &from, &to);
367 if (CATEGORY_MEMBER (category, category_set) != NILP (reset)) 367 if (CATEGORY_MEMBER (XFASTINT (category), category_set) != NILP (reset))
368 { 368 {
369 category_set = Fcopy_sequence (category_set); 369 category_set = Fcopy_sequence (category_set);
370 SET_CATEGORY_SET (category_set, category, set_value); 370 SET_CATEGORY_SET (category_set, category, set_value);
371 if (to > end) 371 if (to > end)
372 char_table_set_range (table, start, end, category_set); 372 char_table_set_range (table, start, end, category_set);