allow WHEREIS_NEXT_KEY to be used in view mode

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1582 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
David Lawrence Ramsey 2003-11-03 00:13:21 +00:00
parent 7127857924
commit 8fa1976796
2 changed files with 4 additions and 1 deletions

View File

@ -3,6 +3,9 @@ CVS code -
do_writeout()
- Prompt the user if we're trying to save an existing file under
a different name. (DLR; suggested by Jean-Philippe Guérard)
- global.c:
shortcut_init()
- Allow WHEREIS_NEXT_KEY to be used in view mode. (DLR)
- search.c:
do_replace_loop()
- Fix potential infinite loop when doing a forward regex replace

View File

@ -575,7 +575,7 @@ void shortcut_init(int unjustify)
sc_init_one(&main_list, -9, _("Where Is Next"),
IFHELP(nano_whereis_next_msg, NANO_WHEREIS_NEXT_KEY), 0, 0,
NOVIEW, do_research);
VIEW, do_research);
#ifdef ENABLE_MULTIBUFFER
sc_init_one(&main_list, -9, _("Previous File"),