changeset 94629:fa335e247f6b

(Ftry_completion): Remove code left over from when we used scmp instead of Fcompare_strings.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 05 May 2008 09:51:29 +0000
parents a088027cd6c2
children 2be356624ede
files src/ChangeLog src/minibuf.c
diffstat 2 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Mon May 05 07:10:25 2008 +0000
+++ b/src/ChangeLog	Mon May 05 09:51:29 2008 +0000
@@ -1,3 +1,8 @@
+2008-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* minibuf.c (Ftry_completion): Remove code left over from when we used
+	scmp instead of Fcompare_strings.
+
 2008-05-04  Juanma Barranquero  <lekktu@gmail.com>
 
 	* w32fns.c (Fw32_battery_status): Fix computation of %t (h:min) format.
--- a/src/minibuf.c	Mon May 05 07:10:25 2008 +0000
+++ b/src/minibuf.c	Mon May 05 09:51:29 2008 +0000
@@ -1445,9 +1445,6 @@
 	      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,