]> code.delx.au - gnu-emacs/commit
2004-06-23 David Kastrup <dak@gnu.org>
authorDavid Kastrup <dak@gnu.org>
Wed, 23 Jun 2004 19:21:14 +0000 (19:21 +0000)
committerDavid Kastrup <dak@gnu.org>
Wed, 23 Jun 2004 19:21:14 +0000 (19:21 +0000)
commit559cdd07454093b88346f8a41aff36fb58c86236
treecade62e88ff6e1749699f571a4b15af4ea49d813
parent2a4a9af98913cf456a58e698969418b2083ff7a5
2004-06-23  David Kastrup  <dak@gnu.org>

* search.c (Freplace_match): Adjust the match-data more
thoroughly when replacing strings in the buffer.
search.c (match-data): When INTEGERS is non-nil and the last match
was in a buffer, add the buffer as last element to the match data.
(Fset_match_data): If an additional element of the match-data is
a buffer, restore it to last_thing_searched.
(save_search_regs): Save last_thing_searched as part of the match
data.
(restore_match_data): Restore it again.
src/ChangeLog