aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/minibuf.c4
1 files 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 ()
1610 tem = Fcompare_strings (completion, Qnil, Qnil, string, Qnil, Qnil, Qt); 1610 tem = Fcompare_strings (completion, Qnil, Qnil, string, Qnil, Qnil, Qt);
1611 completedp = !EQ (tem, Qt); 1611 completedp = !EQ (tem, Qt);
1612 1612
1613 tem = Fstring_equal (completion, string); 1613 tem = Fcompare_strings (completion, Qnil, Qnil, string, Qnil, Qnil, Qnil);
1614 if (NILP (tem)) 1614 if (!EQ (tem, Qt))
1615 /* Rewrite the user's input. */ 1615 /* Rewrite the user's input. */
1616 { 1616 {
1617 Fdelete_field (make_number (ZV)); /* Some completion happened */ 1617 Fdelete_field (make_number (ZV)); /* Some completion happened */