X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/6e9ddbb313cf7db66550f93a74cbba12e39e93c0..d703a4dce564ede122f5c307889e4bd0e3f3e75c:/src/epaths.in
diff --git a/src/epaths.in b/src/epaths.in
index 17cb65a323..66718fd8f7 100644
--- a/src/epaths.in
+++ b/src/epaths.in
@@ -1,7 +1,7 @@
/* Hey Emacs, this is -*- C -*- code! */
/*
-Copyright (C) 1993, 1995, 1997, 1999, 2001-2012
- Free Software Foundation, Inc.
+Copyright (C) 1993, 1995, 1997, 1999, 2001-2015 Free Software
+Foundation, Inc.
This file is part of GNU Emacs.
@@ -19,17 +19,26 @@ You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see . */
-/* The default value of load-path, which is the search path for
- the Lisp function "load". Configure (using "make epaths-force")
- sets this to $lisppath, which typically has a value like:
- /emacs/VERSION/site-lisp:/emacs/site-lisp:
- /emacs/VERSION/lisp:/emacs/VERSION/leim
- where datadir is eg /usr/local/share.
- Configure prepends any $locallisppath, as set by the
- --enable-locallisppath argument.
+/* Together with PATH_SITELOADSEARCH, this gives the default value of
+ load-path, which is the search path for the Lisp function "load".
+ Configure (using "make epaths-force") sets this to
+ ${standardlisppath}, which typically has a value like:
+ /emacs/VERSION/lisp where datadir is eg /usr/local/share.
*/
#define PATH_LOADSEARCH "/usr/local/share/emacs/lisp"
+
+/* Like PATH_LOADSEARCH, but contains the non-standard pieces.
+ These are the site-lisp directories. Configure sets this to
+ ${locallisppath}, which typically defaults to something like:
+ /emacs/VERSION/site-lisp:/emacs/site-lisp
+ but can be overridden by the --enable-locallisppath argument.
+ This is combined with PATH_LOADSEARCH to make the default load-path.
+ If the --no-site-lisp option is used, this piece is excluded.
+*/
+#define PATH_SITELOADSEARCH "/usr/local/share/emacs/site-lisp"
+
+
/* Like PATH_LOADSEARCH, but used only during the build process
when Emacs is dumping. Configure (using "make epaths-force") sets
this to $buildlisppath, which normally has the value: /lisp.