* wl/wl-summary.el (wl-summary-mode): Check with fboundp before calling `make-local...
[elisp/wanderlust.git] / elmo / elmo-version.el
index 8148f6c..6aa7fbb 100644 (file)
 
 ;; product-define in the first place
 (product-provide 'elmo-version
-  ;; Don't forget to check `wl-version.el' and Info.
-  (product-define "ELMO" nil '(2 7 7)))
-
-;; 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)
-                                                 ".")))))
+  ;; Don't forget to run `make update-version' and `make test'.
+  ;; Don't forget to check codename in `wl-version.el'.
+  (product-define "ELMO" nil '(2 15 9)))
 
 ;; set version-string
 (product-version-as-string 'elmo-version)
@@ -63,7 +50,6 @@ If optional argument UPDATE is non-nil, then regenerate
   "Return ELMO version."
   (product-string-1 'elmo-version))
 
-
 ;; for backward compatibility
 (defconst elmo-appname (product-name (product-find 'elmo-version)))
 (make-obsolete-variable