From af20d45bc132c9b9eaa27c3b79dd13a7a7f0a148 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 18 Oct 2017 21:46:34 +0200 Subject: [PATCH] bindings: don't allow calling help when searching in the help viewer This fixes https://savannah.gnu.org/bugs/?52246. --- src/global.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/global.c b/src/global.c index ba62725a..f1add3b0 100644 --- 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);