Mercurial > emacs
diff src/editfns.c @ 81780:54b5d7bec019
(Vinhibit_changing_match_data, search_regs_1): New vars.
(looking_at_1): Don't change search_regs and last_thing_searched
if `inhibit-changing-match-data' is non-nil.
(string_match_1, search_buffer, set_search_regs): Likewise.
(syms_of_search): Add Lisp level definition for
`inhibit-changing-match-data' and set it to nil.
(boyer_moore): If `inhibit-changing-match-data' is non-nil,
compute start and end of the match, instead of using values in search_regs.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 10 Jul 2007 03:48:51 +0000 |
parents | 9086f0548bdc |
children | 935816f951c9 3619e7770f2e |