diff options
| author | Jim Blandy | 1993-02-22 15:09:33 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-02-22 15:09:33 +0000 |
| commit | f1b2821874f1024a977c48eebc3fcc874505bbf5 (patch) | |
| tree | fd428a9e43da11d3a902b3b22aa734568c92f652 /src | |
| parent | f111a131b4734ce17e771e6a3cdba7ac145e7bea (diff) | |
| download | emacs-f1b2821874f1024a977c48eebc3fcc874505bbf5.tar.gz emacs-f1b2821874f1024a977c48eebc3fcc874505bbf5.zip | |
* minibuf.c (Fdisplay_completion_list): Pass the proper number of
arguments to Flength.
* xmenu.c (list_of_items): Same.
Diffstat (limited to 'src')
| -rw-r--r-- | src/minibuf.c | 2 | ||||
| -rw-r--r-- | src/xmenu.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/minibuf.c b/src/minibuf.c index bc1074c89d0..9b4867f571a 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.") | |||
| 1296 | if (XTYPE (Vstandard_output) != Lisp_Buffer) | 1296 | if (XTYPE (Vstandard_output) != Lisp_Buffer) |
| 1297 | { | 1297 | { |
| 1298 | Lisp_Object tem; | 1298 | Lisp_Object tem; |
| 1299 | tem = Flength (elt, Qt); | 1299 | tem = Flength (elt); |
| 1300 | column += XINT (tem); | 1300 | column += XINT (tem); |
| 1301 | } | 1301 | } |
| 1302 | Fprinc (elt, Qnil); | 1302 | Fprinc (elt, Qnil); |
diff --git a/src/xmenu.c b/src/xmenu.c index e1c14da2f70..972c4333d38 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 */ | |||
| 653 | 653 | ||
| 654 | if (XTYPE (pane) != Lisp_Cons) pane = wrong_type_argument (Qlistp, pane); | 654 | if (XTYPE (pane) != Lisp_Cons) pane = wrong_type_argument (Qlistp, pane); |
| 655 | 655 | ||
| 656 | i = XFASTINT (Flength (pane, 1)); | 656 | i = XFASTINT (Flength (pane)); |
| 657 | 657 | ||
| 658 | *vector = (Lisp_Object *) xmalloc (i * sizeof (Lisp_Object)); | 658 | *vector = (Lisp_Object *) xmalloc (i * sizeof (Lisp_Object)); |
| 659 | *names = (char **) xmalloc (i * sizeof (char *)); | 659 | *names = (char **) xmalloc (i * sizeof (char *)); |