apel / apel-ver.el

;;; apel-ver.el --- Declare APEL version.

;; Copyright (C) 1999 Free Software Foundation, Inc.

;; Author: Shuhei KOBAYASHI <shuhei@aqua.ocn.ne.jp>
;;	Keiichi Suzuki <keiichi@nanap.org>
;; 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., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, 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))
  )

(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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.