[Packages (jde)] Fix bug with finding data root in XEmacs

Bryan Shell bryan.shell at gmail.com
Mon Aug 20 19:52:35 EDT 2007


2007-08-20  Bryan Shell  <bryan.shell at gmail.com>

	* jde-util.el (jde-find-jde-data-directory): Return the right
directory for XEmacs instead of the jde-root all the time


--- jde-util.el 2007-08-20 19:28:15.000000000 -0400
+++ /usr/share/xemacs/xemacs-packages/lisp/jde/jde-util.el
2006-03-06 06:58:37.000000000 -0500
@@ -177,8 +177,8 @@
   (let ((directory-sep-char ?/))
     (if (featurep 'xemacs)
        (let ((dir (locate-data-directory "jde")))
-         (if dir dir (jde-root)))
-      (jde-root))))
+         (if dir dir (jde-root))))
+    (jde-root)))

 (defun jde-temp-directory ()
 "Get the location used by the host system to store temporary files."




More information about the XEmacs-Patches mailing list