]> git.eshelyaron.com Git - emacs.git/commitdiff
(compile_pattern): Check the member target_multibyte,
authorKenichi Handa <handa@m17n.org>
Fri, 30 May 2003 06:05:58 +0000 (06:05 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 30 May 2003 06:05:58 +0000 (06:05 +0000)
not the member multibyte of buf.

src/search.c

index 2980712213f8d6331571beba250c2c53e2b1cc1a..507ad5c899281dfab17aadffb710e0045777857b 100644 (file)
@@ -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