* lisp/dgnushack.el (toplevel): Add paths if and only if APEL and FLIM can't be found.
authortsuchiya <tsuchiya>
Mon, 28 May 2001 02:05:53 +0000 (02:05 +0000)
committertsuchiya <tsuchiya>
Mon, 28 May 2001 02:05:53 +0000 (02:05 +0000)
ChangeLog
lisp/dgnushack.el

index 6953b4e..ada0b7e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-28  TSUCHIYA Masatoshi  <tsuchiya@pine.kuee.kyoto-u.ac.jp>
+
+       * lisp/dgnushack.el (toplevel): Add paths if and only if APEL and
+       FLIM can't be found.
+
 2001-05-16  Katsumi Yamaoka <yamaoka@jpl.org>
 
        * lisp/dgnushack.el (dgnushack-bind-colon-keywords): Don't ignore
index 267c2ea..f599298 100644 (file)
 ;; optimized because it requires `poe' and then modify the functions.
 (or (featurep 'path-util)
     (load "apel/path-util"))
-(add-path "apel")
-(add-path "flim")
+(or (locate-library "poe")
+    (add-path "apel"))
+(or (locate-library "mel")
+    (add-path "flim"))
 (unless (module-installed-p 'mel)
   ;; FLIM 1.14 may have installed in two "flim" subdirectories.
   (push (expand-file-name "flim"