commit aa17df0bfdda21004236c10398aa091970493e06
parent d3659f828406922ea398ad5256d4dfe855d0c924
Author: Chris Allegretta <chrisa@asty.org>
Date: Mon, 17 Mar 2008 05:50:04 +0000
Fix for bug #22632: verbatim input in prompts broken with nano-2.0.99pre1
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4234 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/global.c b/src/global.c
@@ -842,6 +842,9 @@ void shortcut_init(bool unjustify)
add_to_funcs(do_verbatim_input, MMAIN, N_("Verbatim Input"),
IFSCHELP(nano_verbatim_msg), FALSE, NOVIEW);
+ add_to_funcs(do_verbatim_input, MWHEREIS|MREPLACE|MREPLACE2|MEXTCMD|MSPELL,
+ "", "", FALSE, NOVIEW);
+
add_to_funcs(do_tab, MMAIN, N_("Tab"), IFSCHELP(nano_tab_msg),
FALSE, NOVIEW);
add_to_funcs(do_tab, MALL, "", "", FALSE, NOVIEW);
@@ -1122,7 +1125,7 @@ void shortcut_init(bool unjustify)
add_to_sclist(MMAIN, "M->", switch_to_next_buffer_void, 0, TRUE);
add_to_sclist(MMAIN, "M-.", switch_to_next_buffer_void, 0, TRUE);
#endif
- add_to_sclist(MMAIN, "M-V", do_verbatim_input, 0, TRUE);
+ add_to_sclist(MALL, "M-V", do_verbatim_input, 0, TRUE);
#ifndef NANO_TINY
add_to_sclist(MALL, "M-T", do_cut_till_end, 0, TRUE);
#ifndef DISABLE_JUSTIFY