From: Kenichi Handa Date: Tue, 15 Oct 2002 01:19:20 +0000 (+0000) Subject: (Freplace_match): Check C by ASCII_CHAR_P, not by X-Git-Tag: emacs-pretest-23.0.90~8295^2~1864^2~240 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=071ce769efe296053515993d5146d45788f02ac3;p=emacs.git (Freplace_match): Check C by ASCII_CHAR_P, not by SINGLE_BYTE_CHAR_P. --- diff --git a/src/search.c b/src/search.c index 7b87a9b996a..2980712213f 100644 --- a/src/search.c +++ b/src/search.c @@ -2439,7 +2439,7 @@ since only regular expressions have distinguished subexpressions. */) { FETCH_STRING_CHAR_ADVANCE_NO_CHECK (c, newtext, pos, pos_byte); - if (!buf_multibyte && !SINGLE_BYTE_CHAR_P (c)) + if (!buf_multibyte && !ASCII_CHAR_P (c)) c = multibyte_char_to_unibyte (c, rev_tbl); } else