• Kenichi Handa's avatar
    (compile_pattern_1): Don't adjust the multibyteness of · 93daa011
    Kenichi Handa authored
    the regexp pattern and the matching target.  Set cp->buf.multibyte
    to the multibyteness of the regexp pattern.  Set
    cp->but.target_multibyte to the multibyteness of the matching
    target.
    (wordify): Use FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE instead of
    FETCH_STRING_CHAR_ADVANCE.
    (Freplace_match): Convert unibyte chars to multibyte.
    93daa011
search.c 82.6 KB