diff options
Diffstat (limited to 'src/category.c')
| -rw-r--r-- | src/category.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/category.c b/src/category.c index cc7ff88474f..bba030360c4 100644 --- a/src/category.c +++ b/src/category.c | |||
| @@ -128,7 +128,7 @@ the current buffer's category table. */) | |||
| 128 | table = check_category_table (table); | 128 | table = check_category_table (table); |
| 129 | 129 | ||
| 130 | if (!NILP (CATEGORY_DOCSTRING (table, XFASTINT (category)))) | 130 | if (!NILP (CATEGORY_DOCSTRING (table, XFASTINT (category)))) |
| 131 | error ("Category `%c' is already defined", XFASTINT (category)); | 131 | error ("Category `%c' is already defined", (int) XFASTINT (category)); |
| 132 | if (!NILP (Vpurify_flag)) | 132 | if (!NILP (Vpurify_flag)) |
| 133 | docstring = Fpurecopy (docstring); | 133 | docstring = Fpurecopy (docstring); |
| 134 | CATEGORY_DOCSTRING (table, XFASTINT (category)) = docstring; | 134 | CATEGORY_DOCSTRING (table, XFASTINT (category)) = docstring; |
| @@ -373,7 +373,7 @@ then delete CATEGORY from the category set instead of adding it. */) | |||
| 373 | table = check_category_table (table); | 373 | table = check_category_table (table); |
| 374 | 374 | ||
| 375 | if (NILP (CATEGORY_DOCSTRING (table, XFASTINT (category)))) | 375 | if (NILP (CATEGORY_DOCSTRING (table, XFASTINT (category)))) |
| 376 | error ("Undefined category: %c", XFASTINT (category)); | 376 | error ("Undefined category: %c", (int) XFASTINT (category)); |
| 377 | 377 | ||
| 378 | set_value = NILP (reset) ? Qt : Qnil; | 378 | set_value = NILP (reset) ? Qt : Qnil; |
| 379 | 379 | ||