diff options
| author | Richard M. Stallman | 2004-11-19 19:47:39 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2004-11-19 19:47:39 +0000 |
| commit | 4fb680cd9c8b3a42a89220318299d8d0106a58de (patch) | |
| tree | 21e7428e4604a1c654b20eda3bd7d96f1a332541 | |
| parent | f31a9a68db58d34497ed79d2acfd4815eb1f2c30 (diff) | |
| download | emacs-4fb680cd9c8b3a42a89220318299d8d0106a58de.tar.gz emacs-4fb680cd9c8b3a42a89220318299d8d0106a58de.zip | |
Fix previous change.
| -rw-r--r-- | src/regex.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) | |||
| 2545 | re_char *p1 = p; | 2545 | re_char *p1 = p; |
| 2546 | 2546 | ||
| 2547 | /* If there's no special whitespace regexp, treat | 2547 | /* If there's no special whitespace regexp, treat |
| 2548 | spaces normally. */ | 2548 | spaces normally. And don't try to do this recursively. */ |
| 2549 | if (!whitespace_regexp) | 2549 | if (!whitespace_regexp || in_subpattern) |
| 2550 | goto normal_char; | 2550 | goto normal_char; |
| 2551 | 2551 | ||
| 2552 | /* Peek past following spaces. */ | 2552 | /* Peek past following spaces. */ |