(toplevel): Use it.
* elmo-localdir.el (toplevel): Updated copyright notice.
* elmo-version.el (toplevel): Ditto.
* elmo-msgdb.el (toplevel): Ditto.
* elmo-imap4.el (toplevel): Ditto.
* elmo-nntp.el (toplevel): Ditto.
* elmo-pop3.el (toplevel): Ditto.
+2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
+
+ * elmo-version.el (product-version-as-string): Defined using
+ `defun-maybe'.
+ (toplevel): Use it.
+
+ * elmo-localdir.el (toplevel): Updated copyright notice.
+ * elmo-version.el (toplevel): Ditto.
+ * elmo-msgdb.el (toplevel): Ditto.
+ * elmo-imap4.el (toplevel): Ditto.
+ * elmo-nntp.el (toplevel): Ditto.
+ * elmo-pop3.el (toplevel): Ditto.
+
2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
* elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
;;; elmo-imap4.el -- IMAP4 Interface for ELMO.
;; Copyright 1998,1999,2000 Yuuichi Teranishi <teranisi@gohome.org>
-
-;; Author: Yuuichi Teranishi <teranisi@gohome.org>
+;; Copyright 1999,2000 Kenichi OKADA <okada@opaopa.org>
+;; Copyright 2000 OKAZAKI Tetsurou <okazaki@be.to>
+;; Copyright 2000 Daiki Ueno <ueno@unixuser.org>
+
+;; Author: Yuuichi Teranishi <teranisi@gohome.org>,
+;; Kenichi OKADA <okada@opaopa.org>,
+;; OKAZAKI Tetsurou <okazaki@be.to>,
+;; Daiki Ueno <ueno@unixuser.org>,
;; Keywords: mail, net news
;; This file is part of ELMO (Elisp Library for Message Orchestration).
;;; elmo-localdir.el -- Localdir Interface for ELMO.
;; Copyright 1998,1999,2000 Yuuichi Teranishi <teranisi@gohome.org>
+;; Masahiro MURATA <muse@ba2.so-net.ne.jp>
+;; Copyright 1999,2000 Kenichi OKADA <okada@opaopa.org>
-;; Author: Yuuichi Teranishi <teranisi@gohome.org>
+;; Author: Yuuichi Teranishi <teranisi@gohome.org>,
+;; Masahiro MURATA <muse@ba2.so-net.ne.jp>,
+;; Kenichi OKADA <okada@opaopa.org>
;; Keywords: mail, net news
;; This file is part of ELMO (Elisp Library for Message Orchestration).
;;; elmo-msgdb.el -- Message Database for Elmo.
;; Copyright 1998,1999,2000 Yuuichi Teranishi <teranisi@gohome.org>
+;; Copyright 2000 Masahiro MURATA <muse@ba2.so-net.ne.jp>
-;; Author: Yuuichi Teranishi <teranisi@gohome.org>
+;; Author: Yuuichi Teranishi <teranisi@gohome.org>,
+;; Masahiro MURATA <muse@ba2.so-net.ne.jp>
;; Keywords: mail, net news
;; This file is part of ELMO (Elisp Library for Message Orchestration).
;;; elmo-nntp.el -- NNTP Interface for ELMO.
;; Copyright 1998,1999,2000 Yuuichi Teranishi <teranisi@gohome.org>
+;; Masahiro MURATA <muse@ba2.so-net.ne.jp>
+;; Copyright 1999,2000 Kenichi OKADA <okada@opaopa.org>
-;; Author: Yuuichi Teranishi <teranisi@gohome.org>
+;; Author: Yuuichi Teranishi <teranisi@gohome.org>,
+;; Masahiro MURATA <muse@ba2.so-net.ne.jp>,
+;; Kenichi OKADA <okada@opaopa.org>
;; Keywords: mail, net news
;; This file is part of ELMO (Elisp Library for Message Orchestration).
;;; elmo-pop3.el -- POP3 Interface for ELMO.
;; Copyright 1998,1999,2000 Yuuichi Teranishi <teranisi@gohome.org>
+;; Copyright 1999,2000 Kenichi OKADA <okada@opaopa.org>
-;; Author: Yuuichi Teranishi <teranisi@gohome.org>
+;; Author: Yuuichi Teranishi <teranisi@gohome.org>,
+;; Kenichi OKADA <okada@opaopa.org>
;; Keywords: mail, net news
;; This file is part of ELMO (Elisp Library for Message Orchestration).
;;; elmo-version.el -- Version information for ELMO.
;; Copyright 2000 Yuuichi Teranishi <teranisi@gohome.org>
+;; TAKAHASHI Kaoru <kaoru@kaisei.org>
;; Author: Yuuichi Teranishi <teranisi@gohome.org>
+;; TAKAHASHI Kaoru <kaoru@kaisei.org>
;; Keywords: mail, net news
;; This file is part of ELMO (Elisp Library for Message Orchestration).
(require 'product)
(provide 'elmo-version) ; have to declare in the top.
+;; For APEL 10.2 or earlier.
+(defun-maybe product-version-as-string (product)
+ "Return version number of product as a string.
+PRODUCT is a product structure which returned by `product-define'.
+If optional argument UPDATE is non-nil, then regenerate
+`produce-version-string' from `product-version'."
+ (setq product (product-find product))
+ (or (product-version-string product)
+ (and (product-version product)
+ (product-set-version-string product
+ (mapconcat (function int-to-string)
+ (product-version product)
+ ".")))))
+
(product-provide 'elmo-version
(product-define "ELMO" nil '(2 3 92)))
;; set version-string
-(if (fboundp 'product-version-as-string)
- (product-version-as-string 'elmo-version)
- (product-string-1 'elmo-version)) ; APEL 10.2 or earlier
+(product-version-as-string 'elmo-version)
(defun elmo-version ()
"Return ELMO version."