From c6b599536f115addc723bf3cc1b7e863c9542e41 Mon Sep 17 00:00:00 2001 From: morioka Date: Mon, 3 Mar 1997 17:52:59 +0000 Subject: [PATCH] (EMU_PREFIX, EMU_DIR): New variable. (APEL_PREFIX, APEL_DIR, APEL_RELATIVE_DIR): New variable. (load-path): Add "../apel" instead of "../tl". --- SEMI-CFG | 51 ++++++++++++++++++++++----------------------------- 1 file changed, 22 insertions(+), 29 deletions(-) diff --git a/SEMI-CFG b/SEMI-CFG index 1809e18..df3b2f4 100644 --- a/SEMI-CFG +++ b/SEMI-CFG @@ -1,6 +1,6 @@ ;;; -*-Emacs-Lisp-*- ;;; -;;; $Id: SEMI-CFG,v 0.3 1997-02-28 04:20:28 tmorioka Exp $ +;;; $Id: SEMI-CFG,v 0.4 1997-03-03 17:52:59 morioka Exp $ ;;; (defvar default-load-path load-path) @@ -9,7 +9,7 @@ (lambda (path) (expand-file-name path default-directory) )) - '("." "../emu" "../tl" "../bitmap-mule" + '("." "../emu" "../apel" "../bitmap-mule" "../mu" "../mel" "../emh" "../gnus-mime" "../rmail-mime") ) @@ -92,6 +92,15 @@ (expand-file-name "../../../.." exec-directory) )) +;; Please specify emu prefix [optional] +(setq EMU_PREFIX + (if (string-match "XEmacs" emacs-version) + "emu" + "")) + +;; Please specify APEL prefix [optional] +(setq APEL_PREFIX "apel") + ;; Please specify prefix for ``bitmap-mule'' [optional] (setq BITMAP_PREFIX "bitmap") @@ -104,33 +113,6 @@ ;; Please specify SEMI prefix [optional] (setq SEMI_PREFIX "semi") -;; lisp files of SEMI are installed into following directory tree: -;; -;; = /DATA_PREFIX// -;; /mime-setup.{el|elc} -;; // --- bitmap lisp files -;; // --- MU lisp files -;; // --- MEL lisp files -;; // --- SEMI lisp files -;; -;; For example, if = "/usr/local" and you use Emacs 19.34, -;; -;; = /usr/local/share/emacs/site-lisp/ -;; /usr/local/share/emacs/site-lisp/mime-setup.{el|elc} -;; /usr/local/share/emacs/site-lisp/ --- tl lisp files -;; /usr/local/share/emacs/site-lisp/mu/ --- MU lisp files -;; /usr/local/share/emacs/site-lisp/mel/ --- MEL lisp files -;; /usr/local/share/emacs/site-lisp/semi/ --- SEMI lisp files -;; -;; For example, if = "~/" and you use XEmacs, -;; -;; = ~/share/xemacs/site-lisp/ -;; ~/lib/xemacs/site-lisp/mime-setup.{el|elc} -;; ~/lib/xemacs/site-lisp/tl/ --- tl lisp files -;; ~/lib/xemacs/site-lisp/mu/ --- MU lisp files -;; ~/lib/xemacs/site-lisp/mel/ --- MEL lisp files -;; ~/lib/xemacs/site-lisp/semi/ --- SEMI lisp files - ;;; @ executables ;;; @@ -152,6 +134,12 @@ (defvar LISPDIR (install-detect-elisp-directory PREFIX)) ;; (setq install-default-elisp-directory "~/lib/emacs/lisp") +(setq EMU_DIR + (expand-file-name + EMU_PREFIX + (install-detect-elisp-directory PREFIX nil 'version-specific))) + +(setq APEL_DIR (expand-file-name APEL_PREFIX LISPDIR)) (setq BITMAP_DIR (expand-file-name BITMAP_PREFIX LISPDIR)) (setq MU_DIR (expand-file-name MU_PREFIX LISPDIR)) (setq MEL_DIR (expand-file-name MEL_PREFIX LISPDIR)) @@ -163,6 +151,7 @@ (setq SEMI_VM_DIR SEMI_KERNEL_DIR) (cond ((member LISPDIR default-load-path) + (setq APEL_RELATIVE_DIR APEL_PREFIX) (setq BITMAP_RELATIVE_DIR BITMAP_PREFIX) (setq MU_RELATIVE_DIR MU_PREFIX) (setq MEL_RELATIVE_DIR MEL_PREFIX) @@ -170,6 +159,9 @@ ) ((string-match (concat "^" (regexp-quote (expand-file-name "~/"))) LISPDIR) + (setq APEL_RELATIVE_DIR + (concat "~/" (file-relative-name APEL_DIR "~/")) + ) (setq BITMAP_RELATIVE_DIR (concat "~/" (file-relative-name BITMAP_DIR "~/")) ) @@ -184,6 +176,7 @@ ) ) (t + (setq APEL_RELATIVE_DIR APEL_DIR) (setq BITMAP_RELATIVE_DIR BITMAP_DIR) (setq MU_RELATIVE_DIR MU_DIR) (setq MEL_RELATIVE_DIR MEL_DIR) -- 1.7.10.4