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.
master
Benno Schulenberg 2020-05-29 19:02:26 +02:00
parent 6d7ff17901
commit ee03c4b857
1 changed files with 1 additions and 3 deletions

View File

@ -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))