From: Kenichi Handa Date: Fri, 30 May 2003 06:05:58 +0000 (+0000) Subject: (compile_pattern): Check the member target_multibyte, X-Git-Tag: emacs-pretest-23.0.90~8295^2~1864^2~22 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=09d1b24e07787b770002ea01b034bc4c4cf62699;p=emacs.git (compile_pattern): Check the member target_multibyte, not the member multibyte of buf. --- 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