* Don't use SCM_LISTn any more.
authorDirk Herrmann <dirk@dirk-herrmanns-seiten.de>
Sat, 30 Jun 2001 19:28:26 +0000 (19:28 +0000)
committerDirk Herrmann <dirk@dirk-herrmanns-seiten.de>
Sat, 30 Jun 2001 19:28:26 +0000 (19:28 +0000)
guile-readline/ChangeLog
guile-readline/readline.c

index 648b863..6137503 100644 (file)
@@ -1,3 +1,8 @@
+2001-06-30  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * readline.c (completion_function):  Use scm_list_n instead of
+       SCM_LISTn.
+
 2001-06-14  Marius Vollmer  <mvo@zagadka.ping.de>
 
        * readline.c, readline.h: Replace "scm_*_t" with "scm_t_*".
index 7e0eb14..0d24033 100644 (file)
@@ -410,7 +410,7 @@ completion_function (char *text, int continuep)
     {
       SCM t = scm_makfrom0str (text);
       SCM c = continuep ? SCM_BOOL_T : SCM_BOOL_F;
-      res = scm_apply (compfunc, SCM_LIST2 (t, c), SCM_EOL);
+      res = scm_apply (compfunc, scm_list_2 (t, c), SCM_EOL);
   
       if (SCM_FALSEP (res))
        return NULL;
@@ -418,7 +418,7 @@ completion_function (char *text, int continuep)
       if (!SCM_STRINGP (res))
        scm_misc_error (s_scm_readline,
                        "Completion function returned bogus value: %S",
-                       SCM_LIST1 (res));
+                       scm_list_1 (res));
       SCM_STRING_COERCE_0TERMINATION_X (res);
       return strdup (SCM_STRING_CHARS (res));
     }