From bace664fbcdb6c29370144ae4d9e228588a8721a Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@justemail.net>
Date: Sat, 3 Sep 2016 11:44:06 +0200
Subject: [PATCH] startup: allow to rebind the RegExp toggle also in the tiny
 version

This fixes https://savannah.gnu.org/bugs/?48988.
---
 src/global.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/global.c b/src/global.c
index 2a30bdc5..27ab2a96 100644
--- 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
-- 
GitLab