epaths.in 3.33 KB
Newer Older
Jim Blandy's avatar
Jim Blandy committed
1
/* Hey Emacs, this is -*- C -*- code!  */
2
/*
Paul Eggert's avatar
Paul Eggert committed
3
Copyright (C) 1993, 1995, 1997, 1999, 2001-2020 Free Software
4
Foundation, Inc.
Gerd Moellmann's avatar
Gerd Moellmann committed
5 6 7

This file is part of GNU Emacs.

8
GNU Emacs is free software: you can redistribute it and/or modify
Gerd Moellmann's avatar
Gerd Moellmann committed
9
it under the terms of the GNU General Public License as published by
10 11
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Gerd Moellmann's avatar
Gerd Moellmann committed
12 13 14 15 16 17 18

GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
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
19
along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.  */
20

Jim Blandy's avatar
Jim Blandy committed
21

22 23 24 25
/* 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:
26
   <datadir>/emacs/VERSION/lisp where datadir is eg /usr/local/share.
27 28 29 30 31
*/
#define PATH_LOADSEARCH "/usr/local/share/emacs/lisp"


/* Like PATH_LOADSEARCH, but contains the non-standard pieces.
32 33
   These are the site-lisp directories.  Configure sets this to
   ${locallisppath}, which typically defaults to something like:
34
   <datadir>/emacs/VERSION/site-lisp:<datadir>/emacs/site-lisp
35
   but can be overridden by the --enable-locallisppath argument.
36 37
   This is combined with PATH_LOADSEARCH to make the default load-path.
   If the --no-site-lisp option is used, this piece is excluded.
38
*/
39 40
#define PATH_SITELOADSEARCH "/usr/local/share/emacs/site-lisp"

Jim Blandy's avatar
Jim Blandy committed
41

42 43
/* Like PATH_LOADSEARCH, but used only during the build process
   when Emacs is dumping.  Configure (using "make epaths-force") sets
44
   this to $buildlisppath, which normally has the value: <srcdir>/lisp.
45
*/
46
#define PATH_DUMPLOADSEARCH "../lisp"
Jim Blandy's avatar
Jim Blandy committed
47 48 49 50 51 52

/* The extra search path for programs to invoke.  This is appended to
   whatever the PATH environment variable says to set the Lisp
   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.  */
53
#define PATH_EXEC "/usr/local/libexec/emacs"
Jim Blandy's avatar
Jim Blandy committed
54 55

/* Where Emacs should look for its architecture-independent data
56
   files, like the NEWS file.  The lisp variable data-directory
Jim Blandy's avatar
Jim Blandy committed
57
   is set to this value.  */
58
#define PATH_DATA "/usr/local/share/emacs/etc"
Jim Blandy's avatar
Jim Blandy committed
59

60 61 62 63
/* Where Emacs should look for X bitmap files.
   The lisp variable x-bitmap-file-path is set based on this value.  */
#define PATH_BITMAPS "/usr/include/X11/bitmaps"

64 65
/* Where Emacs should look for its docstring file.  The lisp variable
   doc-directory is set to this value.  */
66
#define PATH_DOC "/usr/local/share/emacs/etc"
67

68 69 70
/* Where the configuration process believes the info tree lives.  The
   lisp variable configure-info-directory gets its value from this
   macro, and is then used to set the Info-default-directory-list.  */
71
#define PATH_INFO "/usr/local/share/info"
72

73 74 75
/* Where Emacs should store game score files.  */
#define PATH_GAME "/usr/local/var/games/emacs"

76 77
/* 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"