Update.
[elisp/apel.git] / install.el
index 8c3f49b..7d58325 100644 (file)
 ;; for historical reason, we do (require 'emu) in this file.
 ;; but you should do (require 'emu) explicitly if you use functions and/or
 ;; variables defined in emu module.
-(require 'emu)
+;;(require 'emu)
+(require 'poe)
 (require 'path-util)                   ; default-load-path
 
+(defvar emacs-major-version (string-to-int emacs-version))
+(defvar emacs-minor-version
+  (string-to-int
+   (substring emacs-version
+             (string-match (format "%d\\." emacs-major-version)
+                           emacs-version))))
+
 ;; verbatim copy of `defun-maybe' from poe.el, and
 ;; `make-directory-internal' and `make-directory' from poe-18.el
 (defmacro defun-maybe (name &rest everything-else)