From 140eb7640b37563599cb52caca175ebe23101ef0 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 5 May 2008 09:51:29 +0000 Subject: [PATCH] (Ftry_completion): Remove code left over from when we used scmp instead of Fcompare_strings. --- src/ChangeLog | 5 +++++ src/minibuf.c | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index f19f2a7b01f..6e2d3785d38 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2008-05-05 Stefan Monnier + + * minibuf.c (Ftry_completion): Remove code left over from when we used + scmp instead of Fcompare_strings. + 2008-05-04 Juanma Barranquero * w32fns.c (Fw32_battery_status): Fix computation of %t (h:min) format. diff --git a/src/minibuf.c b/src/minibuf.c index 71edfbd5281..3d900af9d5b 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -1445,9 +1445,6 @@ is used to further constrain the set of candidates. */) else matchsize = XINT (tem) - 1; - if (matchsize < 0) - /* When can this happen ? -stef */ - matchsize = compare; if (completion_ignore_case) { /* If this is an exact match except for case, -- 2.39.5