Function: erc-switch-to-buffer

erc-switch-to-buffer is an interactive and byte-compiled function defined in erc.el.gz.

Signature

(erc-switch-to-buffer &optional ARG)

Documentation

Prompt for an ERC buffer to switch to.

When invoked with prefix argument, use all ERC buffers. Without prefix ARG, allow only buffers related to same session server. If erc-track-mode(var)/erc-track-mode(fun) is in enabled, put the last element of erc-modified-channels-alist in front of the buffer list.

Probably introduced at or before Emacs version 27.1.

Key Bindings

Aliases

erc-iswitchb (obsolete since 25.1)

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-switch-to-buffer (&optional arg)
  "Prompt for an ERC buffer to switch to.
When invoked with prefix argument, use all ERC buffers.  Without
prefix ARG, allow only buffers related to same session server.
If `erc-track-mode' is in enabled, put the last element of
`erc-modified-channels-alist' in front of the buffer list."
  (interactive "P")
  (switch-to-buffer (erc--switch-to-buffer arg)))