Mercurial > emacs
changeset 89454:9bd823b992df
(compile_pattern): Check the member target_multibyte,
not the member multibyte of buf.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 30 May 2003 06:05:58 +0000 |
parents | 85b37317d5ea |
children | ba48a280779d |
files | src/search.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/search.c Fri May 30 06:04:17 2003 +0000 +++ b/src/search.c Fri May 30 06:05:58 2003 +0000 @@ -105,7 +105,7 @@ 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 @@ && !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