From: Dave Love Date: Tue, 16 Jul 2002 14:56:55 +0000 (+0000) Subject: (init_casetab_once, init_casetab_once): Fix X-Git-Tag: emacs-pretest-23.0.90~8295^2~1864^2~571 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4732abfcedfa2e9ec969a29b690301af36dd9fd9;p=emacs.git (init_casetab_once, init_casetab_once): Fix CHAR_TABLE_SET call. --- diff --git a/src/casetab.c b/src/casetab.c index a361d092012..1660b57241b 100644 --- a/src/casetab.c +++ b/src/casetab.c @@ -283,7 +283,8 @@ init_casetab_once () XCHAR_TABLE (down)->purpose = Qcase_table; for (i = 0; i < 128; i++) - CHAR_TABLE_SET (down, i, (i >= 'A' && i <= 'Z') ? i + ('a' - 'A') : i); + CHAR_TABLE_SET (down, i, + make_number ((i >= 'A' && i <= 'Z') ? i + ('a' - 'A') : i)); XCHAR_TABLE (down)->extras[1] = Fcopy_sequence (down); @@ -291,11 +292,11 @@ init_casetab_once () XCHAR_TABLE (down)->extras[0] = up; for (i = 0; i < 128; i++) - CHAR_TABLE_SET (up, i, ((i >= 'A' && i <= 'Z') - ? i + ('a' - 'A') - : ((i >= 'a' && i <= 'z') - ? i + ('A' - 'a') - : i))); + CHAR_TABLE_SET (up, i, make_number ((i >= 'A' && i <= 'Z') + ? i + ('a' - 'A') + : ((i >= 'a' && i <= 'z') + ? i + ('A' - 'a') + : i))); XCHAR_TABLE (down)->extras[2] = Fcopy_sequence (up); }