]> git.eshelyaron.com Git - emacs.git/commit
(search_buffer): Handle bytes vs chars in non-RE case.
authorRichard M. Stallman <rms@gnu.org>
Mon, 5 Jan 1998 17:22:52 +0000 (17:22 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 5 Jan 1998 17:22:52 +0000 (17:22 +0000)
commit0c8533c604b6c5a51b6e1a9e8e45434de5cc9021
tree74c47e205ab8f3b25a63e16ca76c4d3b4b5d1b49
parent3f25e1831029384efcfdea75e6d56d34556088f7
(search_buffer): Handle bytes vs chars in non-RE case.
Have two locals len and len_byte.

(fast_c_string_match_ignore_case): Use string_make_unibyte.

(compile_pattern): New arg MULTIBYTE.  Callers changed.

(wordify): Use make_uninit_multibyte_string.
Scan by chars and bytes.

(string_match_1): Convert string indices to/from bytes.
(Freplace_match): Convert string indices to/from bytes.
(Fregexp_quote): Convert string indices to/from bytes.
src/search.c