# HG changeset patch # User Richard M. Stallman # Date 814059146 0 # Node ID 10a489bbf5c33706435eaf359c247e71b4bebd62 # Parent 1aa239b8d03c2fcebbfc384f47e45ffa99e8dbe9 (Fchar_equal): Handle char-table as case table. diff -r 1aa239b8d03c -r 10a489bbf5c3 src/editfns.c --- a/src/editfns.c Wed Oct 18 23:30:32 1995 +0000 +++ b/src/editfns.c Wed Oct 18 23:32:26 1995 +0000 @@ -1953,12 +1953,13 @@ (c1, c2) register Lisp_Object c1, c2; { - unsigned char *downcase = DOWNCASE_TABLE; + Lisp_Object *downcase = DOWNCASE_TABLE; CHECK_NUMBER (c1, 0); CHECK_NUMBER (c2, 1); if (!NILP (current_buffer->case_fold_search) - ? (downcase[0xff & XFASTINT (c1)] == downcase[0xff & XFASTINT (c2)] + ? ((XINT (downcase[0xff & XFASTINT (c1)]) + == XINT (downcase[0xff & XFASTINT (c2)])) && (XFASTINT (c1) & ~0xff) == (XFASTINT (c2) & ~0xff)) : XINT (c1) == XINT (c2)) return Qt;