summaryrefslogtreecommitdiff
path: root/src/syntax.h
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>1999-12-15 00:20:44 +0000
committerKenichi Handa <handa@m17n.org>1999-12-15 00:20:44 +0000
commit8061f8f74e5c18df9dfdd64c2c178119aa8520a7 (patch)
treed7cfb315fb2a552f6533064f79fc644ef3f24025 /src/syntax.h
parentb8039349ce17e2b8366fd6e43c41965ad368a428 (diff)
downloademacs-8061f8f74e5c18df9dfdd64c2c178119aa8520a7.tar.gz
(SYNTAX_ENTRY_INT): Delete codes for a composite
character.
Diffstat (limited to 'src/syntax.h')
-rw-r--r--src/syntax.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/syntax.h b/src/syntax.h
index c2c3a0896d0..5036c4a2a16 100644
--- a/src/syntax.h
+++ b/src/syntax.h
@@ -105,14 +105,12 @@ extern Lisp_Object syntax_parent_lookup P_ ((Lisp_Object, int));
# define CURRENT_SYNTAX_TABLE current_buffer->syntax_table
#endif
-#define SYNTAX_ENTRY_INT(c) \
- ((c) < CHAR_TABLE_SINGLE_BYTE_SLOTS \
- ? SYNTAX_ENTRY_FOLLOW_PARENT (CURRENT_SYNTAX_TABLE, \
- (unsigned char) (c)) \
- : Faref (CURRENT_SYNTAX_TABLE, \
- make_number (COMPOSITE_CHAR_P (c) \
- ? cmpchar_component ((c), 0, 1) \
- : (c))))
+#define SYNTAX_ENTRY_INT(c) \
+ ((c) < CHAR_TABLE_SINGLE_BYTE_SLOTS \
+ ? SYNTAX_ENTRY_FOLLOW_PARENT (CURRENT_SYNTAX_TABLE, \
+ (unsigned char) (c)) \
+ : Faref (CURRENT_SYNTAX_TABLE, \
+ make_number (c)))
/* Extract the information from the entry for character C
in the current syntax table. */