commit 2f537606896581b8b233a7a7b7d4c99bb4a197bc
parent 3409cb2b77ccc620c4691e9aa4650f3b4920d15f
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Wed, 10 Nov 2021 16:38:27 +0100
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.
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/global.c b/src/global.c
@@ -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);