X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=SEMI-CFG;h=915df3e3d136824fc4833b5099343472b41cb9c3;hb=c012f1b28d323d9aae9f8dc3056e67c1d6a20e23;hp=cf554430d1c4f3211b29d04182f9e13a3a2527d2;hpb=d8670c1c26f4e13a48b253653bb1d5188350ffbf;p=elisp%2Fsemi.git diff --git a/SEMI-CFG b/SEMI-CFG index cf55443..915df3e 100644 --- a/SEMI-CFG +++ b/SEMI-CFG @@ -1,11 +1,9 @@ ;;; -*-Emacs-Lisp-*- -;; SEMI-CFG: installation setting about SEMI. +;; SEMI-CFG: installation setting about WEMI. ;;; Code: -(require 'cl) - (defvar default-load-path load-path) (add-to-list 'load-path @@ -13,11 +11,17 @@ (add-to-list 'load-path (expand-file-name "." data-directory)) -(when (boundp 'LISPDIR) - (add-to-list 'default-load-path LISPDIR) - (add-to-list 'load-path LISPDIR) - (add-to-list 'load-path (expand-file-name "apel" LISPDIR)) - ) +(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 "apel" LISPDIR)) + )) + +(defvar VERSION_SPECIFIC_LISPDIR nil) + +(if VERSION_SPECIFIC_LISPDIR + (add-to-list 'load-path VERSION_SPECIFIC_LISPDIR)) (condition-case nil (require 'install) @@ -30,7 +34,7 @@ (or (module-installed-p 'calist) (error "Please install APEL 8.7 or later.")) -(or (module-installed-p 'mime-lib) +(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.")) @@ -96,17 +100,11 @@ ;; (add-path "w3-4.0pre.20" 'all-paths) -;;; @ shell +;;; +;;; @@ Please specify CUSTOM path. ;;; -;; Please specify shell command path. -(setq SHELL - (find-if (function file-exists-p) - '("/bin/sh" "/usr/bin/sh") - )) - -;; Please specify shell command option. -(setq SHELLOPTION "-c") +(add-latest-path "custom") ;;; @ Please specify prefix of install directory. @@ -163,4 +161,18 @@ "tm-plain" "tm-ps" "tmdecode")) +(defvar PACKAGEDIR + (if (boundp 'early-packages) + (let ((dirs (append (if early-package-load-path + early-packages) + (if late-package-load-path + late-packages) + (if last-package-load-path + last-packages))) + dir) + (while (not (file-exists-p + (setq dir (car dirs)))) + (setq dirs (cdr dirs))) + dir))) + ;;; SEMI-CFG ends here