Header fix.
[elisp/apel.git] / install.el
index 04bc553..1aa56a3 100644 (file)
 ;; but you should do (require 'emu) explicitly if you use functions and/or
 ;; variables defined in emu module.
 ;;(require 'emu)
-(require 'path-util)                   ; default-load-path
-
-(defvar emacs-major-version (string-to-int emacs-version)
-  "Major version number of this version of Emacs.
-This variable first existed in version 19.23.")
-
-(defvar emacs-minor-version
-  (string-to-int
-   (substring emacs-version
-             (string-match (format "%d\\." emacs-major-version)
-                           emacs-version)))
-  "Minor version number of this version of Emacs.
-This variable first existed in version 19.23.")
+(require 'poe)         ; emacs-major-version, emacs-minor-version
+(require 'path-util)   ; default-load-path
 
 ;; verbatim copy of `defun-maybe' from poe.el, and
 ;; `make-directory-internal' and `make-directory' from poe-18.el
@@ -245,6 +234,7 @@ to create parent directories if they don't exist."
 ;;; @ end
 ;;;
 
-(provide 'install)
+(require 'product)
+(product-provide (provide 'install) (require 'apel-ver))
 
 ;;; install.el ends here