]> git.wh0rd.org Git - nano.git/commitdiff
allow WHEREIS_NEXT_KEY to be used in view mode
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 3 Nov 2003 00:13:21 +0000 (00:13 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 3 Nov 2003 00:13:21 +0000 (00:13 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1582 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
src/global.c

index c52b99e176bab7178f52ab4f749157fc4ea3fb29..5dbe0eb284e63870b1d677dbfa1ac0b9b495deae 100644 (file)
--- 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
index 452a7b1c3c68833fe2f3da18089a28e5c670bd03..3774098e7c78b3b4df0908d7a6cae676e941359a 100644 (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"),