changeset 31140:943b0b727bc4

(do_completion): Always use compare-string, not string-equal because the latter doesn't pay attention to multibyteness of strings.
author Kenichi Handa <handa@m17n.org>
date Thu, 24 Aug 2000 03:24:13 +0000
parents ca63a2c1a83b
children a7c55d999688
files src/minibuf.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 */