commit 1c63bf0e38a711dffe70bad4c04a2fc8388d5f06
parent 4aa1678f3b8c7bd35bd4457f4a7a319fd16f6100
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Fri, 22 Nov 2019 13:18:45 +0100
bindings: the 'all' keyword should include the browser menu always
Also for the "universal" functions (like cursor movement) and the
special 'implant' function, the 'all' keyword should include the
browser menu.
This fully fixes https://savannah.gnu.org/bugs/?57280.
Bug existed since version 3.2, commit cc01bc3e.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/rcfile.c b/src/rcfile.c
@@ -509,10 +509,10 @@ void parse_binding(char *ptr, bool dobind)
#endif
/* Handle the special case of a key defined as a string. */
if (newsc->func == (functionptrtype)implant)
- mask = MMOST | MHELP;
+ mask = MMOST|MBROWSER|MHELP;
/* Now limit the given menu to those where the function exists. */
- menu = menu & (is_universal(newsc->func) ? MMOST : mask);
+ menu = menu & (is_universal(newsc->func) ? (MMOST|MBROWSER) : mask);
if (!menu) {
if (!ISSET(RESTRICTED) && !ISSET(VIEW_MODE))