05fed97cbab4b379f3249cc56bc4fca09bb7742e
[elisp/apel.git] / apel-ver.el
1 ;;; apel-ver.el --- Declare APEL version.
2
3 ;; Copyright (C) 1999, 2000, 2003, 2006 Free Software Foundation, Inc.
4
5 ;; Author: Shuhei KOBAYASHI <shuhei@aqua.ocn.ne.jp>
6 ;;      Keiichi Suzuki <keiichi@nanap.org>
7 ;; Keywords: compatibility
8
9 ;; This file is part of APEL (A Portable Emacs Library).
10
11 ;; This program is free software; you can redistribute it and/or
12 ;; modify it under the terms of the GNU General Public License as
13 ;; published by the Free Software Foundation; either version 2, or (at
14 ;; your option) any later version.
15
16 ;; This program is distributed in the hope that it will be useful, but
17 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19 ;; General Public License for more details.
20
21 ;; You should have received a copy of the GNU General Public License
22 ;; along with this program; see the file COPYING.  If not, write to
23 ;; the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
24 ;; Boston, MA 02110-1301, USA.
25
26 ;;; Commentary:
27
28 ;; Put the following lines to each file of APEL package.
29 ;;
30 ;; (require 'product)
31 ;; (product-provide (provide FEATURE) (require 'apel-ver))
32
33 ;;; Code:
34
35 (require 'product)                      ; beware of circular dependency.
36 (provide 'apel-ver)                     ; these two files depend on each other.
37
38 (product-provide 'apel-ver
39   ;; (product-define "APEL" nil '(9 23))        ; comment.
40   ;; (product-define "APEL" nil '(10 0))        ; Released 24 December 1999
41   ;; (product-define "APEL" nil '(10 1))        ; Released 20 January 2000
42   ;; (product-define "APEL" nil '(10 2))        ; Released 01 March 2000
43   ;; (product-define "APEL" nil '(10 3))        ; Released 30 December 2000
44   ;; (product-define "APEL" nil '(10 4))        ; Released 04 October 2002
45   ;; (product-define "APEL" nil '(10 5))        ; Released 06 June 2003
46   ;; (product-define "APEL" nil '(10 6))        ; Released 05 July 2003
47   (product-define "APEL" nil '(10 7))
48   )
49
50 (defun apel-version ()
51   "Print APEL version."
52   (interactive)
53   (let ((product-info (product-string-1 'apel-ver t)))
54     (if (interactive-p)
55         (message "%s" product-info)
56       product-info)))
57
58
59 ;;; @ End.
60 ;;;
61
62 ;;; apel-ver.el ends here