mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-26 06:39:43 +03:00
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:
parent
3d6dcb9568
commit
65d81c60cd
@ -1223,6 +1223,7 @@ void shortcut_init(void)
|
||||
add_to_sclist(MMAIN, "^J", '\n', do_justify, 0);
|
||||
#endif
|
||||
#ifdef ENABLE_SPELLER
|
||||
if (!ISSET(PRESERVE))
|
||||
add_to_sclist(MEXECUTE, "^S", 0, do_spell, 0);
|
||||
add_to_sclist(MEXECUTE, "^T", 0, do_spell, 0);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user