Function: erc-version

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

Signature

(erc-version &optional HERE BOLD-ERC)

Documentation

Show the version number of ERC in the minibuffer.

If optional argument HERE is non-nil, insert version number at point. If optional argument BOLD-ERC is non-nil, display "ERC" as bold.

Probably introduced at or before Emacs version 24.5.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-version (&optional here bold-erc)
  "Show the version number of ERC in the minibuffer.
If optional argument HERE is non-nil, insert version number at point.
If optional argument BOLD-ERC is non-nil, display \"ERC\" as bold."
  (interactive "P")
  (let ((version-string
         (format "%s %s (IRC client for GNU Emacs %s)"
                 (if bold-erc
                     "\C-bERC\C-b"
                   "ERC")
                 erc-version
                 emacs-version)))
    (if here
        (insert version-string)
      (if (called-interactively-p 'interactive)
          (message "%s" version-string)
        version-string))))