Mercurial > emacs
changeset 13238:10a489bbf5c3
(Fchar_equal): Handle char-table as case table.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 18 Oct 1995 23:32:26 +0000 |
parents | 1aa239b8d03c |
children | bb56f8799f36 |
files | src/editfns.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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;