X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/1399490e2bb58e1e7212d7a8469e1286ced9423a..d20f82e6f1ab902469723ebd530ca21bea9cc41b:/src/casetab.c diff --git a/src/casetab.c b/src/casetab.c index 5f3c8db286..4bedc1771c 100644 --- a/src/casetab.c +++ b/src/casetab.c @@ -1,5 +1,5 @@ /* GNU Emacs routines to deal with case tables. - Copyright (C) 1993-1994, 2001-2013 Free Software Foundation, Inc. + Copyright (C) 1993-1994, 2001-2015 Free Software Foundation, Inc. Author: Howard Gayle @@ -205,7 +205,6 @@ set_identity (Lisp_Object table, Lisp_Object c, Lisp_Object elt) from = to = XINT (c); to++; - lint_assume (to <= MAX_CHAR + 1); for (; from < to; from++) CHAR_TABLE_SET (table, from, make_number (from)); } @@ -232,7 +231,6 @@ shuffle (Lisp_Object table, Lisp_Object c, Lisp_Object elt) from = to = XINT (c); to++; - lint_assume (to <= MAX_CHAR + 1); for (; from < to; from++) { Lisp_Object tem = Faref (table, elt); @@ -247,15 +245,8 @@ init_casetab_once (void) { register int i; Lisp_Object down, up, eqv; - DEFSYM (Qcase_table, "case-table"); - - /* Intern this now in case it isn't already done. - Setting this variable twice is harmless. - But don't staticpro it here--that is done in alloc.c. */ - Qchar_table_extra_slots = intern_c_string ("char-table-extra-slots"); - /* Now we are ready to set up this property, so we can - create char tables. */ + DEFSYM (Qcase_table, "case-table"); Fput (Qcase_table, Qchar_table_extra_slots, make_number (3)); down = Fmake_char_table (Qcase_table, Qnil);