in shortcut_init(), make the help shortcut for the "Go to Directory"

prompt call do_browser_help() instead of do_help_void(), as this prompt
is only accessible inside the file browser


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3847 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2006-08-25 19:26:48 +00:00
parent f7b8783eaa
commit 56ec5925f3
2 changed files with 5 additions and 1 deletions

View File

@ -124,6 +124,10 @@ CVS code -
- Remove the ^X shortcut for CutTillEnd at the search prompt, as
official Pico doesn't include it, and it can be confused with
Exit. (DLR, suggested by Benno Schulenberg)
- Make the help shortcut for the "Go to Directory" prompt call
do_browser_help() instead of do_help_void(), as this prompt is
only accessible inside the file browser. (DLR, found by Benno
Schulenberg)
toggle_init()
- Don't include desc or blank_after when DISABLE_HELP is
defined, as neither are ever used then. (DLR)

View File

@ -1205,7 +1205,7 @@ void shortcut_init(bool unjustify)
IFSCHELP(nano_help_msg, FALSE, NANO_NO_KEY), NANO_HELP_FKEY,
NANO_NO_KEY, VIEW,
#ifndef DISABLE_HELP
do_help_void
do_browser_help
#else
nano_disabled_msg
#endif