This is an automated email from the git hooks/post-receive script. lloda pushed a commit to branch main in repository guile.
The following commit(s) were added to refs/heads/main by this push: new 118ee0c Fix else in init_bouncing_parens() 118ee0c is described below commit 118ee0c50ba90ea7ad7ff1fd2a212bbbb7a66d99 Author: Daniel Llorens <ll...@sarc.name> AuthorDate: Wed Jun 2 10:48:53 2021 +0200 Fix else in init_bouncing_parens() --- guile-readline/readline.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/guile-readline/readline.c b/guile-readline/readline.c index 408ca55..2dc8f08 100644 --- a/guile-readline/readline.c +++ b/guile-readline/readline.c @@ -433,12 +433,14 @@ init_bouncing_parens () { Keymap km = rl_get_keymap (); if (km) - if (strncmp (rl_get_keymap_name (km), "vi", 2)) - { - rl_bind_key (')', match_paren); - rl_bind_key (']', match_paren); - rl_bind_key ('}', match_paren); - } + { + if (strncmp (rl_get_keymap_name (km), "vi", 2)) + { + rl_bind_key (')', match_paren); + rl_bind_key (']', match_paren); + rl_bind_key ('}', match_paren); + } + } else scm_error (scm_misc_error_key, "", "readline has not been properly initialized", SCM_EOL, SCM_EOL);