Subject: bug#44498: ERC info manual states that C-c C-b in a ERC buffer evaluates (erc-iswitchb) whereas it actually evaluates (erc-switch-to-buffer)

From: Daniel Martín <[email-masked]>
Date: Sat, 07 Nov 2020 16:06:53 +0100

Olav Fosse <[email-masked]> writes:

> Hello,
>
> As the subject says, the Info manual is incorrect.
>
> Steps to reproduce:
>
> 1. Start emacs
> $ emacs -Q
> 2. Start erc and answer minibuffer prompts
> M-x erc<ret><ret><ret><ret><ret>
> 3. Assert that C-c C-b does in fact evaluate (erc-switch-to-buffer)
>    instead of (erc-iswitchb)
>

I've attached a patch that fixes this documentation bug.

>From 4f228e9787da27aa7d4e2f7cf4a65e842b5bf4df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Mart=C3=ADn?= <[email-masked]>
Date: Sat, 7 Nov 2020 16:01:32 +0100
Subject: [PATCH] Fix obsolete documentation of C-c C-b in ERC

* doc/misc/erc.texi (Keystroke Summary): C-c C-b runs
erc-switch-to-buffer, which is implemented in terms of
read-buffer. (Bug#44498)
---
 doc/misc/erc.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/misc/erc.texi b/doc/misc/erc.texi
index cb2e83270e..c39d2f98dc 100644
--- a/doc/misc/erc.texi
+++ b/doc/misc/erc.texi
@@ -284,8 +284,8 @@ Keystroke Summary
 @item C-c C-a (@code{erc-bol})
 Go to beginning of line or end of prompt.
 
-@item C-c C-b (@code{erc-iswitchb})
-Use @code{iswitchb-read-buffer} to prompt for a ERC buffer to switch to.
+@item C-c C-b (@code{erc-switch-to-buffer})
+Use @code{read-buffer} to prompt for a ERC buffer to switch to.
 
 @item C-c C-c (@code{erc-toggle-interpret-controls})
 Toggle interpretation of control sequences in messages.
-- 
2.28.0