X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/59ce725a3b68cbc324f01bc8dc5f9e07286431d1..c6e72e1739cfff4f713fdbb8369ce89341ad9a6b:/src/epaths.in diff --git a/src/epaths.in b/src/epaths.in index fd7d91e7c2..0cf8cc9ce5 100644 --- a/src/epaths.in +++ b/src/epaths.in @@ -1,13 +1,14 @@ /* Hey Emacs, this is -*- C -*- code! */ -/* Copyright (C) 1993, 1995, 1997, 1999, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +/* +Copyright (C) 1993, 1995, 1997, 1999, 2001-2013 Free Software +Foundation, Inc. This file is part of GNU Emacs. -GNU Emacs is free software; you can redistribute it and/or modify +GNU Emacs is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 3, or (at your option) -any later version. +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. GNU Emacs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -15,18 +16,34 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with GNU Emacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -Boston, MA 02110-1301, USA. */ - -/* The default search path for Lisp function "load". - This sets load-path. */ -#define PATH_LOADSEARCH "/usr/local/lib/emacs/lisp" - -/* Like PATH_LOADSEARCH, but used only when Emacs is dumping. This - path is usually identical to PATH_LOADSEARCH except that the entry - for the directory containing the installed lisp files has been - replaced with ../lisp. */ +along with GNU Emacs. If not, see . */ + + +/* 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:/emacs/VERSION/leim + 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, typically something like + /emacs/VERSION/site-lisp:/emacs/site-lisp + Configure prepends any $locallisppath, as set 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. +*/ #define PATH_DUMPLOADSEARCH "../lisp" /* The extra search path for programs to invoke. This is appended to @@ -34,12 +51,12 @@ Boston, MA 02110-1301, USA. */ variable exec-path and the first file name in it sets the Lisp variable exec-directory. exec-directory is used for finding executables and other architecture-dependent files. */ -#define PATH_EXEC "/usr/local/lib/emacs/etc" +#define PATH_EXEC "/usr/local/libexec/emacs" /* Where Emacs should look for its architecture-independent data files, like the NEWS file. The lisp variable data-directory is set to this value. */ -#define PATH_DATA "/usr/local/lib/emacs/data" +#define PATH_DATA "/usr/local/share/emacs/etc" /* Where Emacs should look for X bitmap files. The lisp variable x-bitmap-file-path is set based on this value. */ @@ -47,7 +64,7 @@ Boston, MA 02110-1301, USA. */ /* Where Emacs should look for its docstring file. The lisp variable doc-directory is set to this value. */ -#define PATH_DOC "/usr/local/lib/emacs/data" +#define PATH_DOC "/usr/local/share/emacs/etc" /* Where the configuration process believes the info tree lives. The lisp variable configure-info-directory gets its value from this @@ -60,5 +77,3 @@ Boston, MA 02110-1301, USA. */ /* Where Emacs should look for the application default file. */ #define PATH_X_DEFAULTS "/usr/lib/X11/%L/%T/%N%C%S:/usr/lib/X11/%l/%T/%N%C%S:/usr/lib/X11/%T/%N%C%S:/usr/lib/X11/%L/%T/%N%S:/usr/lib/X11/%l/%T/%N%S:/usr/lib/X11/%T/%N%S" -/* arch-tag: d30686c4-629c-4666-9499-beaa69f1641e - (do not change this comment) */