From: Stefan Monnier Date: Mon, 5 May 2008 09:51:29 +0000 (+0000) Subject: (Ftry_completion): Remove code left over from when we used X-Git-Tag: emacs-pretest-23.0.90~5812 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=140eb7640b37563599cb52caca175ebe23101ef0;p=emacs.git (Ftry_completion): Remove code left over from when we used scmp instead of Fcompare_strings. --- 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,