changeset 2384:5ab51b7300e4

(Fchar_equal): Don't ignore high bits of character.
author Richard M. Stallman <rms@gnu.org>
date Sat, 27 Mar 1993 04:20:05 +0000
parents b7941d286c3f
children 416abb820252
files src/editfns.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/editfns.c	Sat Mar 27 01:58:44 1993 +0000
+++ b/src/editfns.c	Sat Mar 27 04:20:05 1993 +0000
@@ -1416,7 +1416,8 @@
   CHECK_NUMBER (c2, 1);
 
   if (!NILP (current_buffer->case_fold_search)
-      ? downcase[0xff & XFASTINT (c1)] == downcase[0xff & XFASTINT (c2)]
+      ? (downcase[0xff & XFASTINT (c1)] == downcase[0xff & XFASTINT (c2)]
+	 && (XFASTINT (c1) & ~0xff) == (XFASTINT (c2) & ~0xff))
       : XINT (c1) == XINT (c2))
     return Qt;
   return Qnil;