Commit 7892a68b authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(do_completion): Always use compare-string, not string-equal because

the latter doesn't pay attention to multibyteness of strings.
parent d246d5f5
......@@ -1610,8 +1610,8 @@ do_completion ()
tem = Fcompare_strings (completion, Qnil, Qnil, string, Qnil, Qnil, Qt);
completedp = !EQ (tem, Qt);
tem = Fstring_equal (completion, string);
if (NILP (tem))
tem = Fcompare_strings (completion, Qnil, Qnil, string, Qnil, Qnil, Qnil);
if (!EQ (tem, Qt))
/* Rewrite the user's input. */
{
Fdelete_field (make_number (ZV)); /* Some completion happened */
......
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