commit 8fa1976796cdec2ebc998289b69bb200144b53de
parent 7127857924b228f77fa6ea3d398823c4a0094e6f
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Mon, 3 Nov 2003 00:13:21 +0000
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
Diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -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
diff --git a/src/global.c b/src/global.c
@@ -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"),