From: David Kastrup Date: Wed, 23 Jun 2004 19:21:14 +0000 (+0000) Subject: 2004-06-23 David Kastrup X-Git-Tag: ttn-vms-21-2-B4~5656 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=559cdd07454093b88346f8a41aff36fb58c86236;p=emacs.git 2004-06-23 David Kastrup * 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. --- diff --git a/src/ChangeLog b/src/ChangeLog index 3b87aec95b6..6fae7580745 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,15 @@ +2004-06-23 David Kastrup + + * 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. + 2004-06-23 Luc Teirlinck * keymap.c (Ftext_char_description): Doc fix.