commit ee03c4b85792a56963e76a4ddca253cedb95c455
parent 6d7ff17901a3fb08202e496f41a4094ca426108d
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Fri, 29 May 2020 19:02:26 +0200
bindings: remove the Full-Justify function from the Search menu
It was out of place there and found a new home in the Execute menu.
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/global.c b/src/global.c
@@ -1070,7 +1070,7 @@ void shortcut_init(void)
N_("Linter"), WITHORSANS(lint_gist), BLANKAFTER, NOVIEW);
#endif
#ifdef ENABLE_JUSTIFY
- add_to_funcs(do_full_justify, MEXECUTE|MWHEREIS,
+ add_to_funcs(do_full_justify, MEXECUTE,
N_("Full Justify"), WITHORSANS(fulljustify_gist), TOGETHER, NOVIEW);
#endif
#ifdef ENABLE_COLOR
@@ -1333,8 +1333,6 @@ void shortcut_init(void)
add_to_sclist(MMAIN, "M-D", 0, do_wordlinechar_count, 0);
#endif
#ifdef ENABLE_JUSTIFY
- if (!ISSET(VIEW_MODE))
- add_to_sclist(MMAIN|MWHEREIS, "M-J", 0, do_full_justify, 0);
add_to_sclist(MEXECUTE, "^J", 0, do_full_justify, 0);
#endif
if (!ISSET(PRESERVE))