From: kaoru Date: Tue, 10 Oct 2000 01:45:15 +0000 (+0000) Subject: * elmo-version.el: New file. Use product.el. X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcded56f0f4ca02439138e860670269ec667756e;p=elisp%2Fwanderlust.git * elmo-version.el: New file. Use product.el. --- diff --git a/elmo/ChangeLog b/elmo/ChangeLog index 0d5f011..356c6de 100644 --- a/elmo/ChangeLog +++ b/elmo/ChangeLog @@ -1,3 +1,7 @@ +2000-10-10 TAKAHASHI Kaoru + + * wl-version.el: New file. Use product.el. + 2000-10-09 Yuuichi Teranishi * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for diff --git a/elmo/elmo-version.el b/elmo/elmo-version.el new file mode 100644 index 0000000..a1d631f --- /dev/null +++ b/elmo/elmo-version.el @@ -0,0 +1,55 @@ +;;; elmo-version.el -- Version information for ELMO. + +;; Copyright 2000 Yuuichi Teranishi + +;; Author: Yuuichi Teranishi +;; Keywords: mail, net news + +;; This file is part of ELMO (Elisp Library for Message Orchestration). + +;; This program is free software; you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 2, or (at your option) +;; any later version. +;; +;; This program is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. +;; +;; You should have received a copy of the GNU General Public License +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. +;; + +;;; Commentary: +;; + +;;; Code: +;; +(require 'product) +(provide 'elmo-version) + +(product-provide 'elmo-version + (product-define "ELMO" nil '(2 3 0))) + +(defun elmo-version () + "Print ELMO version." + (product-string-1 'elmo-version)) + + +;; for backward compatibility +(defconst elmo-appname (product-name (product-find 'elmo-version))) +(make-obsolete-variable + 'elmo-appname + "use (product-name (product-find 'elmo-version)) insteaed.") + +(defconst elmo-version + (progn (product-string-1 'elmo-version) ; product-set-version-string + (product-version-string (product-find 'elmo-version)))) +(make-obsolete-variable + 'elmo-version + "use (product-version-string (product-find 'elmo-version)) instead.") + +;;; elmo-version.el ends here