]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix gnus-faq example
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 26 Sep 2020 22:20:03 +0000 (00:20 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 26 Sep 2020 22:20:03 +0000 (00:20 +0200)
* doc/misc/gnus-faq.texi (FAQ 6-2): replace-in-string was the XEmacs
name for the function.

doc/misc/gnus-faq.texi

index 9c1d2d0160a488717ef87604680dc0cf55e933a3..6e2aedae716513341faa45cb3d382ac866ff58e6 100644 (file)
@@ -1757,7 +1757,7 @@ more then one article."
   (let ((archive-name
          (format
           "nnml:1.%s"
-          (replace-in-string gnus-newsgroup-name "^.*:" ""))))
+          (replace-regexp-in-string "^.*:" "" gnus-newsgroup-name))))
     (gnus-summary-copy-article n archive-name)))
 @end example
 @noindent