From 559cdd07454093b88346f8a41aff36fb58c86236 Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Wed, 23 Jun 2004 19:21:14 +0000 Subject: [PATCH] 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. --- src/ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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. -- 2.39.2