]> git.eshelyaron.com Git - emacs.git/commit
(Vinhibit_changing_match_data, search_regs_1): New vars.
authorRichard M. Stallman <rms@gnu.org>
Tue, 10 Jul 2007 03:49:44 +0000 (03:49 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 10 Jul 2007 03:49:44 +0000 (03:49 +0000)
commitef8878109c47998abea49be9965c757af12cdd64
treec6a26a63a9eda4b9c74665c2d1291387a236a4bc
parent5d27646d21eab1e70b58df3f5e27d87e34b43a89
(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.
src/ChangeLog
src/search.c