help: do not show ^S when --preserve is in effect

This fixes https://savannah.gnu.org/bugs/?61317.

Bug existed since version 5.0, since the Execute menu was overhauled.
This commit is contained in:
Benno Schulenberg 2021-10-09 12:55:41 +02:00
parent 3d6dcb9568
commit 65d81c60cd

View File

@ -1223,6 +1223,7 @@ void shortcut_init(void)
add_to_sclist(MMAIN, "^J", '\n', do_justify, 0); add_to_sclist(MMAIN, "^J", '\n', do_justify, 0);
#endif #endif
#ifdef ENABLE_SPELLER #ifdef ENABLE_SPELLER
if (!ISSET(PRESERVE))
add_to_sclist(MEXECUTE, "^S", 0, do_spell, 0); add_to_sclist(MEXECUTE, "^S", 0, do_spell, 0);
add_to_sclist(MEXECUTE, "^T", 0, do_spell, 0); add_to_sclist(MEXECUTE, "^T", 0, do_spell, 0);
#endif #endif