changeset 1933:63ba4f555b90

* minibuf.c (Fdisplay_completion_list): Pass the proper number of arguments to Flength. * xmenu.c (list_of_items): Same.
author Jim Blandy <jimb@redhat.com>
date Mon, 22 Feb 1993 15:09:33 +0000
parents 56dd1fbd33c2
children 458a1fceb462
files src/minibuf.c src/xmenu.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/minibuf.c	Mon Feb 22 15:08:57 1993 +0000
+++ b/src/minibuf.c	Mon Feb 22 15:09:33 1993 +0000
@@ -1296,7 +1296,7 @@
 	      if (XTYPE (Vstandard_output) != Lisp_Buffer)
 		{
 		  Lisp_Object tem;
-		  tem = Flength (elt, Qt);
+		  tem = Flength (elt);
 		  column += XINT (tem);
 		}
 	      Fprinc (elt, Qnil);
--- a/src/xmenu.c	Mon Feb 22 15:08:57 1993 +0000
+++ b/src/xmenu.c	Mon Feb 22 15:09:33 1993 +0000
@@ -653,7 +653,7 @@
 
   if (XTYPE (pane) != Lisp_Cons) pane = wrong_type_argument (Qlistp, pane);
 
-  i = XFASTINT (Flength (pane, 1));
+  i = XFASTINT (Flength (pane));
 
   *vector = (Lisp_Object *) xmalloc (i * sizeof (Lisp_Object));
   *names = (char **) xmalloc (i * sizeof (char *));