+(add-to-list 'load-path
+ (expand-file-name "../../site-lisp/apel" data-directory))
+(add-to-list 'load-path
+ (expand-file-name "." data-directory))
+
+(if (boundp 'LISPDIR)
+ (progn
+ (add-to-list 'default-load-path LISPDIR)
+ (add-to-list 'load-path LISPDIR)
+ (add-to-list 'load-path (expand-file-name "emu" LISPDIR))
+ (add-to-list 'load-path (expand-file-name "apel" LISPDIR))
+ ))
+
+(defvar VERSION_SPECIFIC_LISPDIR nil)
+
+(if VERSION_SPECIFIC_LISPDIR
+ (add-to-list 'load-path VERSION_SPECIFIC_LISPDIR))
+
+(condition-case nil
+ (require 'install)
+ (error (error "Please install APEL 8.7 or later.")))
+
+(add-path "bitmap-mule")
+(add-path "flim")
+
+(add-to-list 'load-path (expand-file-name "."))
+
+(or (module-installed-p 'calist)
+ (error "Please install APEL 8.7 or later."))
+(or (module-installed-p 'mime)
+ (error "Please install FLIM 1.6.0 or later."))
+(if (module-installed-p 'tm-view)
+ (message "Please remove tm from load-path."))