From: morioka Date: Sun, 15 Mar 1998 12:14:30 +0000 (+0000) Subject: Insert version check code. X-Git-Tag: semi-1_1_0~13 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=da1be5fc9956c2e6c8400c44ec66f0889c2e5571;p=elisp%2Fsemi.git Insert version check code. --- diff --git a/SEMI-CFG b/SEMI-CFG index beb079d..2880c5d 100644 --- a/SEMI-CFG +++ b/SEMI-CFG @@ -1,6 +1,6 @@ ;;; -*-Emacs-Lisp-*- ;;; -;;; $Id: SEMI-CFG,v 1.2 1998-03-13 12:55:51 morioka Exp $ +;;; $Id: SEMI-CFG,v 1.3 1998-03-15 12:14:30 morioka Exp $ ;;; (defvar default-load-path load-path) @@ -16,9 +16,18 @@ (add-to-list 'load-path (expand-file-name "apel" LISPDIR)) ) -(require 'install) +(condition-case nil + (require 'install) + (error (error "Please install APEL."))) (require 'cl) +(or (module-installed-p 'calist) + (error "Please install latest APEL.")) +(or (module-installed-p 'mel) + (error "Please install MEL.")) +(if (module-installed-p 'tm-view) + (error "Please remove tm from load-path.")) + (add-path "bitmap-mule") (add-path "mel")