From: David Lawrence Ramsey Date: Fri, 25 Aug 2006 19:26:48 +0000 (+0000) Subject: in shortcut_init(), make the help shortcut for the "Go to Directory" X-Git-Tag: v1.9.99pre1~15 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=56ec5925f3351c6e5929716adabb0c370fbf9a6b;p=nano.git 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 --- diff --git a/ChangeLog b/ChangeLog index ea5f8fbe..3c720a84 100644 --- 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 index 8a47b8b9..719499fb 100644 --- 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