]> git.eshelyaron.com Git - emacs.git/commitdiff
(replace-regexp-in-string): Doc fix.
authorAndreas Schwab <schwab@suse.de>
Tue, 29 Oct 2002 23:42:00 +0000 (23:42 +0000)
committerAndreas Schwab <schwab@suse.de>
Tue, 29 Oct 2002 23:42:00 +0000 (23:42 +0000)
lisp/ChangeLog
lisp/subr.el

index 94c7a13da28d3b0e520d148cab6a92155198bb17..cdbf78e5eaac6aa4ea8d5dbda872a14752be52cb 100644 (file)
@@ -1,3 +1,7 @@
+2002-10-30  Andreas Schwab  <schwab@suse.de>
+
+       * subr.el (replace-regexp-in-string): Doc fix.
+
 2002-10-29  Dave Love  <fx@gnu.org>
 
        * cus-start.el (selection-coding-system, scalable-fonts-allowed):
index 857c61347190c538b44bba1b4c541809bdc41b29..17ca52c62926eba3e203ba4c217b82e79f828d8a 100644 (file)
@@ -1790,7 +1790,7 @@ 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.
-  (replace-regexp-in-string \"\\(foo\\).*\\'\" \"bar\" \" foo foo\" nil nil 1)
+  (replace-regexp-in-string \"\\\\(foo\\\\).*\\\\'\" \"bar\" \" foo foo\" nil nil 1)
     => \" bar foo\"
 "