Commit c34beca9 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Fchar_equal): Don't ignore high bits of character.

parent 08159178
......@@ -1416,7 +1416,8 @@ Case is ignored if `case-fold-search' is non-nil in the current buffer.")
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment