Regard LISPDIR if it is specified.
authormorioka <morioka>
Sat, 15 Nov 1997 15:22:38 +0000 (15:22 +0000)
committermorioka <morioka>
Sat, 15 Nov 1997 15:22:38 +0000 (15:22 +0000)
Add mel's path.

EMH-CFG

diff --git a/EMH-CFG b/EMH-CFG
index 9cf3ef6..4df3e2c 100644 (file)
--- a/EMH-CFG
+++ b/EMH-CFG
@@ -1,31 +1,23 @@
 ;;; -*-Emacs-Lisp-*-
 ;;;
-;;; $Id: EMH-CFG,v 0.2 1997-08-05 15:33:09 morioka Exp $
+;;; $Id: EMH-CFG,v 0.3 1997-11-15 15:22:38 morioka Exp $
 ;;;
 
 (defvar default-load-path load-path)
 
-;; (setq load-path (nconc
-;;                  (mapcar (function
-;;                           (lambda (path)
-;;                             (expand-file-name path default-directory)
-;;                             ))
-;;                          '("." "../semi"
-;;                            "../emu" "../apel" "../mu" "../mel")
-;;                          )
-;;                  load-path))
-
-(add-to-list 'load-path
-            (expand-file-name "../../site-lisp/apel" 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))
-  )
+(cond ((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))
+       )
+      (t
+       (add-to-list 'load-path
+                   (expand-file-name "../../site-lisp/apel" data-directory))
+       ))
 
 (require 'install)
 
+(add-path "mel")
 (add-path "semi")
 (add-path ".")