[21.5] Use .../share instead of .../lib for datadir

Michael Sperber sperber at informatik.uni-tuebingen.de
Wed Aug 29 12:31:39 EDT 2007


Didier Verna <didier at xemacs.org> writes:

>    Correction: when XEmacs is "make install"'ed, the in-place version
> works fine also.

Ah, I believe it's rejecting the package directory because there's no
"lib/xemacs" subdirectory.  Does the attached patch help?

2007-08-29  Mike Sperber  <mike at xemacs.org>

	* setup-paths.el (paths-emacs-data-root-p): Use "share" instead of
	"lib" as the subdirectory to look for when testing for a data
	root.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
-------------- next part --------------
Index: lisp/setup-paths.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/lisp/setup-paths.el,v
retrieving revision 1.25
diff -u -r1.25 setup-paths.el
--- lisp/setup-paths.el	9 Aug 2007 06:22:53 -0000	1.25
+++ lisp/setup-paths.el	29 Aug 2007 16:30:17 -0000
@@ -97,10 +97,10 @@
   (or
    ;; installed
    (paths-file-readable-directory-p (paths-construct-path (list directory
-								"lib"
+								"share"
 								emacs-program-name)))
    (paths-file-readable-directory-p (paths-construct-path (list directory
-								"lib"
+								"share"
 								(construct-emacs-version-name))))
    ;; in-place or windows-nt
    (and


More information about the XEmacs-Patches mailing list