summaryrefslogtreecommitdiff
path: root/guile-readline
diff options
context:
space:
mode:
authorHan-Wen Nienhuys <hanwen@lilypond.org>2007-01-19 19:28:55 +0000
committerHan-Wen Nienhuys <hanwen@lilypond.org>2007-01-19 19:28:55 +0000
commit07109436196d11e42e5c3fe856c6625e94505be5 (patch)
tree25495f5d011d9d4adb457a3b276955cc2e197bdd /guile-readline
parent62560650136f8c1a321a754e5081e323009b812a (diff)
terminate option list with NULL.
(scm_init_readline): fix CVS mess-up.
Diffstat (limited to 'guile-readline')
-rw-r--r--guile-readline/ChangeLog1
-rw-r--r--guile-readline/readline.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/guile-readline/ChangeLog b/guile-readline/ChangeLog
index e3569b284..51979c783 100644
--- a/guile-readline/ChangeLog
+++ b/guile-readline/ChangeLog
@@ -1,6 +1,7 @@
2007-01-19 Han-Wen Nienhuys <hanwen@lilypond.org>
* readline.c: terminate option list with NULL.
+ (scm_init_readline): fix CVS mess-up.
2006-10-06 Neil Jerram <neil@ossau.uklinux.net>
diff --git a/guile-readline/readline.c b/guile-readline/readline.c
index 4a87ae2dc..4d2be7302 100644
--- a/guile-readline/readline.c
+++ b/guile-readline/readline.c
@@ -65,7 +65,6 @@ SCM_DEFINE (scm_readline_options, "readline-options-interface", 0, 1, 0,
{
SCM ans = scm_options (setting,
scm_readline_opts,
- SCM_N_READLINE_OPTIONS,
FUNC_NAME);
stifle_history (SCM_HISTORY_LENGTH);
return ans;
@@ -574,8 +573,7 @@ scm_init_readline ()
reentry_barrier_mutex = scm_permanent_object (scm_make_mutex ());
scm_init_opts (scm_readline_options,
- scm_readline_opts,
- SCM_N_READLINE_OPTIONS);
+ scm_readline_opts);
init_bouncing_parens();
scm_add_feature ("readline");
#endif /* HAVE_RL_GETC_FUNCTION */