aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Blandy <[email protected]>1993-02-22 15:09:33 +0000
committerJim Blandy <[email protected]>1993-02-22 15:09:33 +0000
commitf1b2821874f1024a977c48eebc3fcc874505bbf5 (patch)
treefd428a9e43da11d3a902b3b22aa734568c92f652
parentf111a131b4734ce17e771e6a3cdba7ac145e7bea (diff)
* minibuf.c (Fdisplay_completion_list): Pass the proper number of
arguments to Flength. * xmenu.c (list_of_items): Same.
-rw-r--r--src/minibuf.c2
-rw-r--r--src/xmenu.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index bc1074c89d..9b4867f571 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -1296,7 +1296,7 @@ or may be a list of two strings to be printed as if concatenated.")
if (XTYPE (Vstandard_output) != Lisp_Buffer)
{
Lisp_Object tem;
- tem = Flength (elt, Qt);
+ tem = Flength (elt);
column += XINT (tem);
}
Fprinc (elt, Qnil);
diff --git a/src/xmenu.c b/src/xmenu.c
index e1c14da2f7..972c4333d3 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -653,7 +653,7 @@ list_of_items (vector, names, pane) /* get list from emacs and put to vector */
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 *));