aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-07-23 15:50:08 +0000
committerRichard M. Stallman1996-07-23 15:50:08 +0000
commit089e089d4bcc791add54b160c1a36fd91bd95ba4 (patch)
treef0710e54cb85cc10af97e938c6218bc41f2e2c8f
parent0521d6f56df0f5a5ab57112a6ec1317aac4952be (diff)
downloademacs-089e089d4bcc791add54b160c1a36fd91bd95ba4.tar.gz
emacs-089e089d4bcc791add54b160c1a36fd91bd95ba4.zip
Describe the version-specific site-list directory.
-rw-r--r--lispref/loading.texi29
1 files changed, 29 insertions, 0 deletions
diff --git a/lispref/loading.texi b/lispref/loading.texi
index 1e6b5df8229..34d90168ae1 100644
--- a/lispref/loading.texi
+++ b/lispref/loading.texi
@@ -193,6 +193,35 @@ you should bind @code{load-path} locally with @code{let} around the
193calls to @code{load}. 193calls to @code{load}.
194@end defopt 194@end defopt
195 195
196 The default value of @code{load-path}, when running an Emacs which has
197been installed on the system, looks like this:
198
199@smallexample
200("/usr/local/share/emacs/@var{version}/site-lisp"
201 "/usr/local/share/emacs/site-lisp"
202 "/usr/local/share/emacs/@var{version}/lisp")
203@end smallexample
204
205 The last of these three directories is where the Lisp files of Emacs
206itself are installed; the first two are for additional Lisp packages
207installed at your site. The first directory is for locally installed
208packages that belong with a particular Emacs version; the second is for
209locally installed packages that can be used with any installed Emacs
210version.
211
212 There are several reasons why a Lisp package that works well in one
213Emacs version can cause trouble in another. Sometimes packages need
214updating for incompatible changes in Emacs; sometimes they depend on
215undocumented internal Emacs data that can change without notice;
216sometimes a newer Emacs version incorporates a version of the package,
217and should be used only with that version.
218
219 If you run Emacs from the directory where it was built---that is, an
220executable that has not been formally installed---then @code{load-path}
221normally contains two additional directories. These are the @code{lisp}
222and @code{site-lisp} subdirectories of the main build directory. (Both
223are represented as absolute file names.)
224
196@defvar load-in-progress 225@defvar load-in-progress
197This variable is non-@code{nil} if Emacs is in the process of loading a 226This variable is non-@code{nil} if Emacs is in the process of loading a
198file, and it is @code{nil} otherwise. 227file, and it is @code{nil} otherwise.