Function: erc-go-to-log-matches-buffer

erc-go-to-log-matches-buffer is an interactive and byte-compiled function defined in erc-match.el.gz.

Signature

(erc-go-to-log-matches-buffer)

Documentation

Interactively open an erc-log-matches buffer.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-match.el.gz
(defun erc-go-to-log-matches-buffer ()
  "Interactively open an erc-log-matches buffer."
  (interactive)
  (let ((buffer-name (completing-read "Switch to ERC Log buffer: "
				      (mapcar (lambda (x)
						(cons (cdr x) t))
					      erc-log-matches-types-alist)
				      (lambda (buffer-cons)
					(get-buffer (car buffer-cons))))))
    (switch-to-buffer buffer-name)))