From 13e75e620b84fda6c951005bf6c80aea854ee58a Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 27 Sep 2020 00:20:03 +0200 Subject: [PATCH] Fix gnus-faq example * doc/misc/gnus-faq.texi (FAQ 6-2): replace-in-string was the XEmacs name for the function. --- doc/misc/gnus-faq.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5