aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorKarl Heuer1994-10-19 04:51:45 +0000
committerKarl Heuer1994-10-19 04:51:45 +0000
commit487282dc64fdc27aeaaacad3180832607f5c3deb (patch)
tree6ca44ffea4727ba3949b74df5cb6ccc59d11c41f /lib-src
parente50c66d349eb02a4a0367f4cd9227c0f227ea41b (diff)
downloademacs-487282dc64fdc27aeaaacad3180832607f5c3deb.tar.gz
emacs-487282dc64fdc27aeaaacad3180832607f5c3deb.zip
(searchbufs): New variable, replaces searchbuf and last_regexp and
search_fastmap. (syms_of_search): Initialize it. (searchbuf_head): New variable. (compile_pattern_1): Renamed from compile_pattern and made static. Copy the regexp string in case the caller modifies it in place later. (compile_pattern): New code, uses a cached entry if one is available. The pattern buffer is now a return value instead of an arg. (set_search_regs): Set num_regs directly, since there's no active pattern buffer to pass to re_set_registers. (Fstore_match_data): Likewise. (Flooking_at): Use the new calling convention for compile_pattern. (Fstring_match, fast_string_match, search_buffer): Likewise.
Diffstat (limited to 'lib-src')
0 files changed, 0 insertions, 0 deletions