aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1997-04-10 22:42:34 +0000
committerKarl Heuer1997-04-10 22:42:34 +0000
commit49db96ce3dd8a81659205db1d7e287921018f765 (patch)
tree1285e02363542de5d8a0a700bc87083afdb3ff3d /src
parent8835e400fcc03c52374065e48ce9849d51afe9a4 (diff)
downloademacs-49db96ce3dd8a81659205db1d7e287921018f765.tar.gz
emacs-49db96ce3dd8a81659205db1d7e287921018f765.zip
(scmp, Fdisplay_completion_list): Fix Lisp_Object/integer confusion.
Diffstat (limited to 'src')
-rw-r--r--src/minibuf.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index 0db5e62677a..daf533eda4f 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -926,7 +926,7 @@ scmp (s1, s2, len)
926 926
927 if (completion_ignore_case) 927 if (completion_ignore_case)
928 { 928 {
929 while (l && DOWNCASE (*s1++) == DOWNCASE (*s2++)) 929 while (l && EQ (DOWNCASE (*s1++), DOWNCASE (*s2++)))
930 l--; 930 l--;
931 } 931 }
932 else 932 else
@@ -1623,18 +1623,18 @@ It can find the completion buffer in `standard-output'.")
1623 /* Compute the length of this element. */ 1623 /* Compute the length of this element. */
1624 if (CONSP (elt)) 1624 if (CONSP (elt))
1625 { 1625 {
1626 tem = Fcar (elt); 1626 tem = XCAR (elt);
1627 CHECK_STRING (tem, 0); 1627 CHECK_STRING (tem, 0);
1628 length = XINT (XSTRING (tem)->size); 1628 length = XSTRING (tem)->size;
1629 1629
1630 tem = Fcar (Fcdr (elt)); 1630 tem = Fcar (XCDR (elt));
1631 CHECK_STRING (tem, 0); 1631 CHECK_STRING (tem, 0);
1632 length += XINT (XSTRING (tem)->size); 1632 length += XSTRING (tem)->size;
1633 } 1633 }
1634 else 1634 else
1635 { 1635 {
1636 CHECK_STRING (elt, 0); 1636 CHECK_STRING (elt, 0);
1637 length = XINT (XSTRING (elt)->size); 1637 length = XSTRING (elt)->size;
1638 } 1638 }
1639 1639
1640 /* This does a bad job for narrower than usual windows. 1640 /* This does a bad job for narrower than usual windows.