Hi

jde-find-jde-doc-directory already gives the right directory under xemacs. So it's
not necessary to conditionalize on jde-xemacsp. Even worse the help files will not
be found.

Below a patch

Ciao
  Volker

------------------- cut here ----------------------

--- jde-bug.el  Sat Jul 21 17:52:34 2001
+++ D:\usr\local\lib\xemacs\site-packages\lisp\jde-2.2.8beta4\jde-bug.el        Sun 
+Jul 22 14:07:18 2001
@@ -2595,10 +2595,7 @@
   (let* ((jde-dir (jde-find-jde-doc-directory))
          (jdebug-help
           (if jde-dir
-              (if (and jde-xemacsp
-                       (locate-data-directory "jde"))
-                  (expand-file-name "jdebug-ug.html" jde-dir)
-                (expand-file-name "doc/html/jdebug-ug/jdebug-ug.html" jde-dir)))))    
   
+              (expand-file-name "doc/html/jdebug-ug/jdebug-ug.html" jde-dir))))
     (if (and
          jdebug-help
          (file-exists-p jdebug-help))
--- jde.el      Sat Jul 21 17:52:26 2001
+++ D:\usr\local\lib\xemacs\site-packages\lisp\jde-2.2.8beta4\jde.el    Sun Jul 22 
+14:05:02 2001
@@ -1668,10 +1668,7 @@
   (let* ((jde-dir (jde-find-jde-doc-directory))
          (jde-help
           (if jde-dir
-              (if (and jde-xemacsp
-                       (locate-data-directory "jde"))
-                  (expand-file-name "jde-ug.html" jde-dir)
-                (expand-file-name "doc/html/jde-ug/jde-ug.html" jde-dir)))))       
+              (expand-file-name "doc/html/jde-ug/jde-ug.html" jde-dir))))
     (if (and
          jde-help
          (file-exists-p jde-help))

------------------- cut here ----------------------

Reply via email to