diff options
| -rw-r--r-- | src/search.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/search.c b/src/search.c index 246f9cbdf4d..3ba413ae8c2 100644 --- a/src/search.c +++ b/src/search.c | |||
| @@ -221,6 +221,7 @@ compile_pattern (pattern, regp, translate, posix, multibyte) | |||
| 221 | if (NILP (cp->regexp)) | 221 | if (NILP (cp->regexp)) |
| 222 | goto compile_it; | 222 | goto compile_it; |
| 223 | if (XSTRING (cp->regexp)->size == XSTRING (pattern)->size | 223 | if (XSTRING (cp->regexp)->size == XSTRING (pattern)->size |
| 224 | && STRING_MULTIBYTE (cp->regexp) == STRING_MULTIBYTE (pattern) | ||
| 224 | && !NILP (Fstring_equal (cp->regexp, pattern)) | 225 | && !NILP (Fstring_equal (cp->regexp, pattern)) |
| 225 | && EQ (cp->buf.translate, (! NILP (translate) ? translate : make_number (0))) | 226 | && EQ (cp->buf.translate, (! NILP (translate) ? translate : make_number (0))) |
| 226 | && cp->posix == posix | 227 | && cp->posix == posix |