diff --git a/ChangeLog b/ChangeLog index d2faf46e..0d097453 100644 --- a/ChangeLog +++ b/ChangeLog @@ -16,6 +16,9 @@ CVS code - write_marked() - New function used to write the current marked selection to a file, split out from do_writeout(). (DLR) +- global.c: + shortcut_init() + - Only allow verbatim input when we're not in view mode. (DLR) - nano.c: do_verbatim_input() - Remove the now-unneeded code to disable XON, XOFF, and diff --git a/src/global.c b/src/global.c index 546a0be7..93843cf9 100644 --- a/src/global.c +++ b/src/global.c @@ -580,7 +580,7 @@ void shortcut_init(int unjustify) sc_init_one(&main_list, NANO_NO_KEY, _("Verbatim Input"), IFHELP(nano_verbatim_msg, NANO_VERBATIM_KEY), NANO_NO_KEY, - NANO_NO_KEY, VIEW, do_verbatim_input); + NANO_NO_KEY, NOVIEW, do_verbatim_input); #ifdef ENABLE_MULTIBUFFER sc_init_one(&main_list, NANO_NO_KEY, _("Previous File"),