i9e: Remove pointless call to rl_set_keymap() in i9e_open().
authorAndre Noll <maan@tuebingen.mpg.de>
Tue, 8 Mar 2016 07:48:27 +0000 (08:48 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Wed, 23 Mar 2016 00:01:59 +0000 (00:01 +0000)
The call to rl_set_keymap() can be removed since i9e_attach_to_stdout()
already activates the bare key map.

interactive.c

index bb121f4..ce48af3 100644 (file)
@@ -479,7 +479,6 @@ int i9e_open(struct i9e_client_info *ici, struct sched *s)
        if (ici->producer) {
                rl_callback_handler_install("", i9e_line_handler);
                i9e_attach_to_stdout(ici->producer);
-               rl_set_keymap(i9ep->bare_km);
        } else
                rl_callback_handler_install(i9ep->ici->prompt, i9e_line_handler);
        return 1;