From 7892a68b982e3460ffdf15e69280877a8872915d Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Thu, 24 Aug 2000 03:24:13 +0000 Subject: [PATCH] (do_completion): Always use compare-string, not string-equal because the latter doesn't pay attention to multibyteness of strings. --- src/minibuf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/minibuf.c b/src/minibuf.c index 19c06105fbc..740f73cbd4e 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -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 */ -- 2.39.2