startup: allow to rebind the RegExp toggle also in the tiny version

This fixes https://savannah.gnu.org/bugs/?48988.
master
Benno Schulenberg 2016-09-03 11:44:06 +02:00
parent acd8809d71
commit bace664fbc
1 changed files with 3 additions and 1 deletions

View File

@ -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