unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Zhang Wei <id.brep@gmail.com>
Subject: erc-version-string hardcoded emacs version number
Date: Thu, 02 Feb 2006 00:37:12 +0800	[thread overview]
Message-ID: <87lkwv9gsn.fsf@gmail.com> (raw)


Glad to know ERC is in cvs repository. But the `erc-version-string'
hardcoded emacs version number, `M-x erc-version' tell me "Emacs 22"
while I'm using Emacs 23.

*** erc.el	01  2月 2006 18:07:08 +0800	1.2.2.1
--- erc.el	02  2月 2006 00:24:34 +0800	
***************
*** 66,72 ****
  
  ;;; Code:
  
! (defconst erc-version-string "Version 5.1 (Emacs 22)"
    "ERC version.  This is used by function `erc-version'.")
  
  (eval-when-compile (require 'cl))
--- 66,72 ----
  
  ;;; Code:
  
! (defconst erc-version-string "Version 5.1"
    "ERC version.  This is used by function `erc-version'.")
  
  (eval-when-compile (require 'cl))
***************
*** 5774,5780 ****
  If optional argument HERE is non-nil, insert version number at point."
    (interactive "P")
    (let ((version-string
! 	 (format "ERC %s" erc-version-string)))
      (if here
  	(insert version-string)
        (if (interactive-p)
--- 5774,5780 ----
  If optional argument HERE is non-nil, insert version number at point."
    (interactive "P")
    (let ((version-string
! 	 (format "ERC %s (GNU Emacs %s)" erc-version-string emacs-version)))
      (if here
  	(insert version-string)
        (if (interactive-p)

-- 
Zhang Wei or Brep
<brep@smth.org>

             reply	other threads:[~2006-02-01 16:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-01 16:37 Zhang Wei [this message]
2006-02-02 13:25 ` erc-version-string hardcoded emacs version number Michael Olson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lkwv9gsn.fsf@gmail.com \
    --to=id.brep@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).