* EMH-CFG: Add "custom" to load-path. Use `if' and `progn' instead
authoryamaoka <yamaoka>
Thu, 8 Oct 1998 22:40:24 +0000 (22:40 +0000)
committeryamaoka <yamaoka>
Thu, 8 Oct 1998 22:40:24 +0000 (22:40 +0000)
of `when'.

ChangeLog
EMH-CFG

index ec4d8be..4b6a0aa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1998-10-09  Katsumi Yamaoka   <yamaoka@jpl.org>
+
+       * EMH-CFG: Add "custom" to load-path. Use `if' and `progn' instead
+       of `when'.
+
 1998-09-17  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
 
        * Makefile (XEMACS): New variable.
diff --git a/EMH-CFG b/EMH-CFG
index e8671f2..12679fd 100644 (file)
--- a/EMH-CFG
+++ b/EMH-CFG
 (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))
+      ))
 
 (condition-case nil
     (require 'install)
   (error (error "Please install APEL 8.2 or later.")))
 
+(add-path "custom")
 (add-path "flim")
 (add-path "semi")