From 8fa1976796cdec2ebc998289b69bb200144b53de Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Mon, 3 Nov 2003 00:13:21 +0000 Subject: [PATCH] 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 --- ChangeLog | 3 +++ src/global.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c52b99e1..5dbe0eb2 100644 --- 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 index 452a7b1c..3774098e 100644 --- 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"), -- 2.39.5