Mercurial > emacs
changeset 68585:bc069548ae24
(erc-version-string): Don't hard-code Emacs version.
(erc-version): Use emacs-version.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 03 Feb 2006 10:25:38 +0000 |
parents | 411b12428299 |
children | 5c6fd061a6f9 |
files | lisp/erc/erc.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/erc/erc.el Fri Feb 03 10:08:57 2006 +0000 +++ b/lisp/erc/erc.el Fri Feb 03 10:25:38 2006 +0000 @@ -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 @@ 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)