aboutsummaryrefslogtreecommitdiffstats
path: root/src/category.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/category.c')
-rw-r--r--src/category.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/category.c b/src/category.c
index 1c9085fd558..80dc6938d8b 100644
--- a/src/category.c
+++ b/src/category.c
@@ -406,17 +406,17 @@ then delete CATEGORY from the category set instead of adding it. */)
406 return Qnil; 406 return Qnil;
407} 407}
408 408
409/* Return 1 if there is a word boundary between two word-constituent 409/* Return true if there is a word boundary between two word-constituent
410 characters C1 and C2 if they appear in this order, else return 0. 410 characters C1 and C2 if they appear in this order.
411 Use the macro WORD_BOUNDARY_P instead of calling this function 411 Use the macro WORD_BOUNDARY_P instead of calling this function
412 directly. */ 412 directly. */
413 413
414int 414bool
415word_boundary_p (int c1, int c2) 415word_boundary_p (int c1, int c2)
416{ 416{
417 Lisp_Object category_set1, category_set2; 417 Lisp_Object category_set1, category_set2;
418 Lisp_Object tail; 418 Lisp_Object tail;
419 int default_result; 419 bool default_result;
420 420
421 if (EQ (CHAR_TABLE_REF (Vchar_script_table, c1), 421 if (EQ (CHAR_TABLE_REF (Vchar_script_table, c1),
422 CHAR_TABLE_REF (Vchar_script_table, c2))) 422 CHAR_TABLE_REF (Vchar_script_table, c2)))