Function: erc-list-join

erc-list-join is an interactive and byte-compiled function defined in erc-list.el.gz.

Signature

(erc-list-join)

Documentation

Join the irc channel named on this line.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-list.el.gz
(defun erc-list-join ()
  "Join the irc channel named on this line."
  (interactive)
  (unless (eobp)
    (beginning-of-line)
    (unless (looking-at "\\([&#+!][^ \n]+\\)")
      (error "Not looking at channel name?"))
    (let ((chan (match-string 1)))
      (with-current-buffer erc-list-server-buffer
	(erc-join-channel chan)))))