From: Lars Ingebrigtsen Date: Sat, 26 Sep 2020 22:20:03 +0000 (+0200) Subject: Fix gnus-faq example X-Git-Tag: emacs-28.0.90~5862 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=13e75e620b84fda6c951005bf6c80aea854ee58a;p=emacs.git Fix gnus-faq example * doc/misc/gnus-faq.texi (FAQ 6-2): replace-in-string was the XEmacs name for the function. --- diff --git a/doc/misc/gnus-faq.texi b/doc/misc/gnus-faq.texi index 9c1d2d0160a..6e2aedae716 100644 --- a/doc/misc/gnus-faq.texi +++ b/doc/misc/gnus-faq.texi @@ -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