[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/subr.el
From: |
Richard M . Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/subr.el |
Date: |
Sat, 20 Aug 2005 17:48:51 -0400 |
Index: emacs/lisp/subr.el
diff -c emacs/lisp/subr.el:1.474 emacs/lisp/subr.el:1.475
*** emacs/lisp/subr.el:1.474 Wed Aug 17 14:08:30 2005
--- emacs/lisp/subr.el Sat Aug 20 21:48:51 2005
***************
*** 2167,2175 ****
is non-nil, start replacements at that index in STRING.
REP is either a string used as the NEWTEXT arg of `replace-match' or a
! function. If it is a function it is applied to each match to generate
! the replacement passed to `replace-match'; the match-data at this
! point are such that match 0 is the function's argument.
To replace only the first match (if any), make REGEXP match up to \\'
and replace a sub-expression, e.g.
--- 2167,2176 ----
is non-nil, start replacements at that index in STRING.
REP is either a string used as the NEWTEXT arg of `replace-match' or a
! function. If it is a function, it is called with the actual text of each
! match, and its value is used as the replacement text. When REP is called,
! the match-data are the result of matching REGEXP against a substring
! of STRING.
To replace only the first match (if any), make REGEXP match up to \\'
and replace a sub-expression, e.g.
- [Emacs-diffs] Changes to emacs/lisp/subr.el, Thien-Thi Nguyen, 2005/08/06
- [Emacs-diffs] Changes to emacs/lisp/subr.el, Richard M . Stallman, 2005/08/08
- [Emacs-diffs] Changes to emacs/lisp/subr.el, Kim F . Storm, 2005/08/17
- [Emacs-diffs] Changes to emacs/lisp/subr.el,
Richard M . Stallman <=
- [Emacs-diffs] Changes to emacs/lisp/subr.el, Vinicius Jose Latorre, 2005/08/24
- [Emacs-diffs] Changes to emacs/lisp/subr.el, Richard M . Stallman, 2005/08/25
- [Emacs-diffs] Changes to emacs/lisp/subr.el, Kim F . Storm, 2005/08/26