From: Kenichi Handa Date: Thu, 24 Aug 2000 03:24:13 +0000 (+0000) Subject: (do_completion): Always use compare-string, not string-equal because X-Git-Tag: emacs-pretest-21.0.90~2003 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7892a68b982e3460ffdf15e69280877a8872915d;p=emacs.git (do_completion): Always use compare-string, not string-equal because the latter doesn't pay attention to multibyteness of strings. --- 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 */