commit af20d45bc132c9b9eaa27c3b79dd13a7a7f0a148
parent 08b49534d5a0a384093d35fd383ec5d6e7cdb4c8
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Wed, 18 Oct 2017 21:46:34 +0200
bindings: don't allow calling help when searching in the help viewer
This fixes https://savannah.gnu.org/bugs/?52246.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/global.c b/src/global.c
@@ -688,7 +688,7 @@ void shortcut_init(void)
/* Start populating the different menus with functions. */
- add_to_funcs(do_help_void, MMOST,
+ add_to_funcs(do_help_void, MMOST & ~MFINDINHELP,
/* TRANSLATORS: Try to keep the following strings at most 10 characters. */
N_("Get Help"), IFSCHELP(nano_help_msg), TOGETHER, VIEW);