From: Richard M. Stallman Date: Fri, 19 Nov 2004 19:47:39 +0000 (+0000) Subject: Fix previous change. X-Git-Tag: ttn-vms-21-2-B4~3839 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4fb680cd9c8b3a42a89220318299d8d0106a58de;p=emacs.git Fix previous change. --- diff --git a/src/regex.c b/src/regex.c index 459c0ab26b1..a53eac29216 100644 --- a/src/regex.c +++ b/src/regex.c @@ -2545,8 +2545,8 @@ regex_compile (pattern, size, syntax, bufp) re_char *p1 = p; /* If there's no special whitespace regexp, treat - spaces normally. */ - if (!whitespace_regexp) + spaces normally. And don't try to do this recursively. */ + if (!whitespace_regexp || in_subpattern) goto normal_char; /* Peek past following spaces. */