;;; apel-ver.el --- Declare APEL version. ;; Copyright (C) 1999, 2000, 2003, 2006 Free Software Foundation, Inc. ;; Author: Shuhei KOBAYASHI ;; Keiichi Suzuki ;; Keywords: compatibility ;; This file is part of APEL (A Portable Emacs Library). ;; 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 this program; see the file COPYING. If not, write to ;; the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, ;; Boston, MA 02110-1301, USA. ;;; Commentary: ;; Put the following lines to each file of APEL package. ;; ;; (require 'product) ;; (product-provide (provide FEATURE) (require 'apel-ver)) ;;; Code: (require 'product) ; beware of circular dependency. (provide 'apel-ver) ; these two files depend on each other. (product-provide 'apel-ver ;; (product-define "APEL" nil '(9 23)) ; comment. ;; (product-define "APEL" nil '(10 0)) ; Released 24 December 1999 ;; (product-define "APEL" nil '(10 1)) ; Released 20 January 2000 ;; (product-define "APEL" nil '(10 2)) ; Released 01 March 2000 ;; (product-define "APEL" nil '(10 3)) ; Released 30 December 2000 ;; (product-define "APEL" nil '(10 4)) ; Released 04 October 2002 ;; (product-define "APEL" nil '(10 5)) ; Released 06 June 2003 ;; (product-define "APEL" nil '(10 6)) ; Released 05 July 2003 ;; (product-define "APEL" nil '(10 7)) ; Released 14 February 2007 (product-define "APEL" nil '(10 8)) ) (defun apel-version () "Print APEL version." (interactive) (let ((product-info (product-string-1 'apel-ver t))) (if (interactive-p) (message "%s" product-info) product-info))) ;;; @ End. ;;; ;;; apel-ver.el ends here