summaryrefslogtreecommitdiff
path: root/guile-readline/readline.c
diff options
context:
space:
mode:
authorHan-Wen Nienhuys <hanwen@lilypond.org>2007-01-19 19:26:36 +0000
committerHan-Wen Nienhuys <hanwen@lilypond.org>2007-01-19 19:26:36 +0000
commit62560650136f8c1a321a754e5081e323009b812a (patch)
treee20bd1417e43f56b818c79fd5059a61a036532e2 /guile-readline/readline.c
parent42ddb3cb8b30a2bba45c4ef9bf29d3ab04c6cc45 (diff)
downloadguile-62560650136f8c1a321a754e5081e323009b812a.tar.gz
* readline.c: terminate option list with NULL.
* read.c: idem. * print.c: idem. * eval.c: terminate option lists with 0. * options.c: remove n (for length) from scm_option_X functions. Detect option list length by looking for NULL name.
Diffstat (limited to 'guile-readline/readline.c')
-rw-r--r--guile-readline/readline.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/guile-readline/readline.c b/guile-readline/readline.c
index 4eab67582..4a87ae2dc 100644
--- a/guile-readline/readline.c
+++ b/guile-readline/readline.c
@@ -52,7 +52,8 @@ scm_t_option scm_readline_opts[] = {
{ SCM_OPTION_INTEGER, "history-length", 200,
"History length." },
{ SCM_OPTION_INTEGER, "bounce-parens", 500,
- "Time (ms) to show matching opening parenthesis (0 = off)."}
+ "Time (ms) to show matching opening parenthesis (0 = off)."},
+ { 0 }
};
extern void stifle_history (int max);