From: Eli Zaretskii Date: Fri, 3 Feb 2006 10:25:38 +0000 (+0000) Subject: (erc-version-string): Don't hard-code Emacs version. X-Git-Tag: emacs-pretest-22.0.90~4399 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=67e5330555fc862cdf4099e57d440729dab7066f;p=emacs.git (erc-version-string): Don't hard-code Emacs version. (erc-version): Use emacs-version. --- diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index 3c6baf1fdb4..cc9dc8bf1b9 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el @@ -66,7 +66,7 @@ ;;; Code: -(defconst erc-version-string "Version 5.1 (Emacs 22)" +(defconst erc-version-string "Version 5.1" "ERC version. This is used by function `erc-version'.") (eval-when-compile (require 'cl)) @@ -5774,7 +5774,7 @@ P may be an integer or a service name." If optional argument HERE is non-nil, insert version number at point." (interactive "P") (let ((version-string - (format "ERC %s" erc-version-string))) + (format "ERC %s (GNU Emacs %s)" erc-version-string emacs-version))) (if here (insert version-string) (if (interactive-p)