commit 56ec5925f3351c6e5929716adabb0c370fbf9a6b
parent f7b8783eaaa0bc0d8f3ccd63e88d168fc3f2c06e
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Fri, 25 Aug 2006 19:26:48 +0000
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
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -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)
diff --git a/src/global.c b/src/global.c
@@ -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