summaryrefslogtreecommitdiff
path: root/src/category.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1997-04-10 22:12:04 +0000
committerKarl Heuer <kwzh@gnu.org>1997-04-10 22:12:04 +0000
commitb64a8e652289549cacb8485cecb2503ba7d3fc9d (patch)
tree0937bab1db90f06bdf2da90984b5deae659a31ec /src/category.c
parentc8237ef1eb3786a51bdee12065ad95c71544fb56 (diff)
downloademacs-b64a8e652289549cacb8485cecb2503ba7d3fc9d.tar.gz
(Fmake_category_set): Use XSETFASTINT.
Diffstat (limited to 'src/category.c')
-rw-r--r--src/category.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/category.c b/src/category.c
index cd87abd5637..b644448b486 100644
--- a/src/category.c
+++ b/src/category.c
@@ -67,8 +67,9 @@ CATEGORIES is a string of category mnemonics.")
len = XSTRING (categories)->size;
while (--len >= 0)
{
- Lisp_Object category = make_number (XSTRING (categories)->data[len]);
+ Lisp_Object category;
+ XSETFASTINT (category, XSTRING (categories)->data[len]);
CHECK_CATEGORY (category, 0);
SET_CATEGORY_SET (val, category, Qt);
}