From: Andre Noll Date: Tue, 8 Mar 2016 07:48:27 +0000 (+0100) Subject: i9e: Remove pointless call to rl_set_keymap() in i9e_open(). X-Git-Tag: v0.5.6~48 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=82d34d62888bc4d7b2d06ce52d66d6fc79af6034 i9e: Remove pointless call to rl_set_keymap() in i9e_open(). The call to rl_set_keymap() can be removed since i9e_attach_to_stdout() already activates the bare key map. --- diff --git a/interactive.c b/interactive.c index bb121f42..ce48af32 100644 --- a/interactive.c +++ b/interactive.c @@ -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;