]> git.eshelyaron.com Git - emacs.git/commitdiff
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)
* 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

index 3b87aec95b683072d95a5b6792c3636cf23e9a50..6fae7580745c2e929edd5873a0438a2e0c2404b2 100644 (file)
@@ -1,3 +1,15 @@
+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.
+
 2004-06-23  Luc Teirlinck  <teirllm@auburn.edu>
 
        * keymap.c (Ftext_char_description): Doc fix.