Commit 8fa19767 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

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
No related merge requests found
Showing with 4 additions and 1 deletion
+4 -1
...@@ -3,6 +3,9 @@ CVS code - ...@@ -3,6 +3,9 @@ CVS code -
do_writeout() do_writeout()
- Prompt the user if we're trying to save an existing file under - Prompt the user if we're trying to save an existing file under
a different name. (DLR; suggested by Jean-Philippe Guérard) 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: - search.c:
do_replace_loop() do_replace_loop()
- Fix potential infinite loop when doing a forward regex replace - Fix potential infinite loop when doing a forward regex replace
......
...@@ -575,7 +575,7 @@ void shortcut_init(int unjustify) ...@@ -575,7 +575,7 @@ void shortcut_init(int unjustify)
sc_init_one(&main_list, -9, _("Where Is Next"), sc_init_one(&main_list, -9, _("Where Is Next"),
IFHELP(nano_whereis_next_msg, NANO_WHEREIS_NEXT_KEY), 0, 0, IFHELP(nano_whereis_next_msg, NANO_WHEREIS_NEXT_KEY), 0, 0,
NOVIEW, do_research); VIEW, do_research);
#ifdef ENABLE_MULTIBUFFER #ifdef ENABLE_MULTIBUFFER
sc_init_one(&main_list, -9, _("Previous File"), sc_init_one(&main_list, -9, _("Previous File"),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment