mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-22 12:51:23 +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,7 +1223,8 @@ void shortcut_init(void)
|
||||
add_to_sclist(MMAIN, "^J", '\n', do_justify, 0);
|
||||
#endif
|
||||
#ifdef ENABLE_SPELLER
|
||||
add_to_sclist(MEXECUTE, "^S", 0, do_spell, 0);
|
||||
if (!ISSET(PRESERVE))
|
||||
add_to_sclist(MEXECUTE, "^S", 0, do_spell, 0);
|
||||
add_to_sclist(MEXECUTE, "^T", 0, do_spell, 0);
|
||||
#endif
|
||||
#ifdef ENABLE_COLOR
|
||||
|
Loading…
Reference in New Issue
Block a user