From 09d1b24e07787b770002ea01b034bc4c4cf62699 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Fri, 30 May 2003 06:05:58 +0000 Subject: [PATCH] (compile_pattern): Check the member target_multibyte, not the member multibyte of buf. --- src/search.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/search.c b/src/search.c index 2980712213f..507ad5c8992 100644 --- a/src/search.c +++ b/src/search.c @@ -105,7 +105,7 @@ matcher_overflow () POSIX is nonzero if we want full backtracking (POSIX style) for this pattern. 0 means backtrack only enough to get a valid match. MULTIBYTE is nonzero if we want to handle multibyte characters in - PATTERN. 0 means all multibyte characters are recognized just as + the target. 0 means all multibyte characters are recognized just as sequences of binary data. */ static void @@ -191,7 +191,7 @@ compile_pattern (pattern, regp, translate, posix, multibyte) && !NILP (Fstring_equal (cp->regexp, pattern)) && EQ (cp->buf.translate, (! NILP (translate) ? translate : make_number (0))) && cp->posix == posix - && cp->buf.multibyte == multibyte) + && cp->buf.target_multibyte == multibyte) break; /* If we're at the end of the cache, compile into the nil cell -- 2.39.5