commit bace664fbcdb6c29370144ae4d9e228588a8721a
parent acd8809d71f70c045ad03f50114334c37ca47cef
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Sat, 3 Sep 2016 11:44:06 +0200
startup: allow to rebind the RegExp toggle also in the tiny version
This fixes https://savannah.gnu.org/bugs/?48988.
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/global.c b/src/global.c
@@ -1520,12 +1520,14 @@ sc *strtosc(const char *input)
s->scfunc = total_refresh;
else if (!strcasecmp(input, "suspend"))
s->scfunc = do_suspend_void;
+#ifndef NANO_TINY
else if (!strcasecmp(input, "casesens"))
s->scfunc = case_sens_void;
-#ifndef NANO_TINY
+#endif
else if (!strcasecmp(input, "regexp") ||
!strcasecmp(input, "regex"))
s->scfunc = regexp_void;
+#ifndef NANO_TINY
else if (!strcasecmp(input, "backwards"))
s->scfunc = backwards_void;
#endif