emacs-diffs
[Top][All Lists]
Advanced

[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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]