X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Fsetup-paths.el;h=d22ba462edca32e9b7dc77f972a7782038881712;hb=3c0bcb51b2298fcec3ead0f39ec96430f12c75fd;hp=f26dad89d740e45faacf2490c3cc248622b75fe0;hpb=e5cd8d4ed475af329be5df9627a53edd584fd3de;p=chise%2Fxemacs-chise.git- diff --git a/lisp/setup-paths.el b/lisp/setup-paths.el index f26dad8..d22ba46 100644 --- a/lisp/setup-paths.el +++ b/lisp/setup-paths.el @@ -38,9 +38,12 @@ ;;; Code: -(defvar paths-load-path-depth 1 +(defvar paths-core-load-path-depth 1 "Depth of load-path searches in core Lisp paths.") +(defvar paths-site-load-path-depth 1 + "Depth of load-path searches in site Lisp paths.") + (defvar paths-default-info-directories (mapcar (function (lambda (dirlist) @@ -87,11 +90,11 @@ (site-lisp-load-path (and site-lisp-directory (paths-find-recursive-load-path (list site-lisp-directory) - paths-load-path-depth))) + paths-site-load-path-depth))) (lisp-load-path (and lisp-directory (paths-find-recursive-load-path (list lisp-directory) - paths-load-path-depth)))) + paths-core-load-path-depth)))) (append env-load-path early-package-load-path site-lisp-load-path @@ -109,11 +112,11 @@ (site-module-load-path (and site-module-directory (paths-find-recursive-load-path (list site-module-directory) - paths-load-path-depth))) + paths-site-load-path-depth))) (module-load-path (and module-directory (paths-find-recursive-load-path (list module-directory) - paths-load-path-depth)))) + paths-core-load-path-depth)))) (append env-module-path site-module-load-path module-load-path)))