# HG changeset patch # User Kenichi Handa # Date 945216175 0 # Node ID 141799992598571a0130892af5d245f8f9eb6b05 # Parent 97029667b1a9b726cce748d80ca7a32b6ad26a16 (CATEGORY_SET): Delete codes for a composite character. diff -r 97029667b1a9 -r 141799992598 src/category.h --- a/src/category.h Wed Dec 15 00:02:33 1999 +0000 +++ b/src/category.h Wed Dec 15 00:02:55 1999 +0000 @@ -104,17 +104,11 @@ && NILP (temp = XCHAR_TABLE (table)->defalt)) \ table = XCHAR_TABLE (table)->parent; \ else \ - temp = Faref (table, \ - make_number (COMPOSITE_CHAR_P (c) \ - ? cmpchar_component ((c), 0, 1) : (c))); \ + temp = Faref (table, make_number (c)); \ temp; }) #else -#define CATEGORY_SET(c) \ - ((c) < CHAR_TABLE_SINGLE_BYTE_SLOTS \ - ? Faref (current_buffer->category_table, make_number ((unsigned char) c)) \ - : Faref (current_buffer->category_table, \ - make_number (COMPOSITE_CHAR_P (c) \ - ? cmpchar_component ((c), 0, 1) : (c)))) +#define CATEGORY_SET(c) \ + Faref (current_buffer->category_table, make_number (c)) #endif /* Return the doc string of CATEGORY in category table TABLE. */