1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-29 19:30:36 +02:00

Fix else in init_bouncing_parens()

This commit is contained in:
Daniel Llorens 2021-06-02 10:48:53 +02:00
parent c1fd55d174
commit 118ee0c50b

View file

@ -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);
}
}
else
scm_error (scm_misc_error_key, "", "readline has not been properly initialized",
SCM_EOL, SCM_EOL);