# HG changeset patch # User Kenichi Handa # Date 967087453 0 # Node ID 943b0b727bc4ac6c2af001ffc737faf5b6a7c344 # Parent ca63a2c1a83ba9715537053cf3270b2529469222 (do_completion): Always use compare-string, not string-equal because the latter doesn't pay attention to multibyteness of strings. diff -r ca63a2c1a83b -r 943b0b727bc4 src/minibuf.c --- a/src/minibuf.c Thu Aug 24 03:23:37 2000 +0000 +++ b/src/minibuf.c Thu Aug 24 03:24:13 2000 +0000 @@ -1610,8 +1610,8 @@ 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 */