Commit 56ec5925 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

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
No related merge requests found
Showing with 5 additions and 1 deletion
+5 -1
...@@ -124,6 +124,10 @@ CVS code - ...@@ -124,6 +124,10 @@ CVS code -
- Remove the ^X shortcut for CutTillEnd at the search prompt, as - Remove the ^X shortcut for CutTillEnd at the search prompt, as
official Pico doesn't include it, and it can be confused with official Pico doesn't include it, and it can be confused with
Exit. (DLR, suggested by Benno Schulenberg) 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() toggle_init()
- Don't include desc or blank_after when DISABLE_HELP is - Don't include desc or blank_after when DISABLE_HELP is
defined, as neither are ever used then. (DLR) defined, as neither are ever used then. (DLR)
......
...@@ -1205,7 +1205,7 @@ void shortcut_init(bool unjustify) ...@@ -1205,7 +1205,7 @@ void shortcut_init(bool unjustify)
IFSCHELP(nano_help_msg, FALSE, NANO_NO_KEY), NANO_HELP_FKEY, IFSCHELP(nano_help_msg, FALSE, NANO_NO_KEY), NANO_HELP_FKEY,
NANO_NO_KEY, VIEW, NANO_NO_KEY, VIEW,
#ifndef DISABLE_HELP #ifndef DISABLE_HELP
do_help_void do_browser_help
#else #else
nano_disabled_msg nano_disabled_msg
#endif #endif
......
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