[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-commit] emacs/src search.c
From: |
David Kastrup |
Subject: |
[Emacs-commit] emacs/src search.c |
Date: |
Wed, 23 Jun 2004 15:38:01 -0400 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Branch:
Changes by: David Kastrup <address@hidden> 04/06/23 19:22:25
Modified files:
src : search.c
Log message:
(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.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/src/search.c.diff?tr1=1.180&tr2=1.181&r1=text&r2=text