mirror of
git://git.sv.gnu.org/nano.git
synced 2024-12-29 13:49:47 +03:00
bindings: let ^T in the tiny version invoke spell checker (when included)
This fixes https://savannah.gnu.org/bugs/?61460.
Bug existed since version 5.0, commit d3954901
, since in the normal
version ^T was repurposed to give direct access to the Execute menu.
This commit is contained in:
parent
3409cb2b77
commit
2f53760689
@ -1196,9 +1196,13 @@ void shortcut_init(void)
|
||||
add_to_sclist(MMAIN, "^J", '\n', do_justify, 0);
|
||||
#endif
|
||||
#ifdef ENABLE_SPELLER
|
||||
#ifndef NANO_TINY
|
||||
if (!ISSET(PRESERVE))
|
||||
add_to_sclist(MEXECUTE, "^S", 0, do_spell, 0);
|
||||
add_to_sclist(MEXECUTE, "^T", 0, do_spell, 0);
|
||||
#else
|
||||
add_to_sclist(MMAIN, "^T", 0, do_spell, 0);
|
||||
#endif
|
||||
#endif
|
||||
#ifdef ENABLE_COLOR
|
||||
add_to_sclist(MMAIN, "M-B", 0, do_linter, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user