]> code.delx.au - gnu-emacs/blob - src/epaths.in
Merge from emacs-24; up to 2012-05-02T11:38:01Z!lekktu@gmail.com
[gnu-emacs] / src / epaths.in
1 /* Hey Emacs, this is -*- C -*- code! */
2 /*
3 Copyright (C) 1993, 1995, 1997, 1999, 2001-2012
4 Free Software Foundation, Inc.
5
6 This file is part of GNU Emacs.
7
8 GNU Emacs is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
12
13 GNU Emacs is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20
21
22 /* Together with PATH_SITELOADSEARCH, this gives the default value of
23 load-path, which is the search path for the Lisp function "load".
24 Configure (using "make epaths-force") sets this to
25 ${standardlisppath}, which typically has a value like:
26 <datadir>/emacs/VERSION/lisp:<datadir>/emacs/VERSION/leim
27 where datadir is eg /usr/local/share.
28 */
29 #define PATH_LOADSEARCH "/usr/local/share/emacs/lisp"
30
31
32 /* Like PATH_LOADSEARCH, but contains the non-standard pieces.
33 These are the site-lisp directories, typically something like
34 <datadir>/emacs/VERSION/site-lisp:<datadir>/emacs/site-lisp
35 Configure prepends any $locallisppath, as set by the
36 --enable-locallisppath argument.
37 This is combined with PATH_LOADSEARCH to make the default load-path.
38 If the --no-site-lisp option is used, this piece is excluded.
39 */
40 #define PATH_SITELOADSEARCH "/usr/local/share/emacs/site-lisp"
41
42
43 /* Like PATH_LOADSEARCH, but used only during the build process
44 when Emacs is dumping. Configure (using "make epaths-force") sets
45 this to $buildlisppath, which normally has the value: <srcdir>/lisp.
46 */
47 #define PATH_DUMPLOADSEARCH "../lisp"
48
49 /* The extra search path for programs to invoke. This is appended to
50 whatever the PATH environment variable says to set the Lisp
51 variable exec-path and the first file name in it sets the Lisp
52 variable exec-directory. exec-directory is used for finding
53 executables and other architecture-dependent files. */
54 #define PATH_EXEC "/usr/local/libexec/emacs"
55
56 /* Where Emacs should look for its architecture-independent data
57 files, like the NEWS file. The lisp variable data-directory
58 is set to this value. */
59 #define PATH_DATA "/usr/local/share/emacs/etc"
60
61 /* Where Emacs should look for X bitmap files.
62 The lisp variable x-bitmap-file-path is set based on this value. */
63 #define PATH_BITMAPS "/usr/include/X11/bitmaps"
64
65 /* Where Emacs should look for its docstring file. The lisp variable
66 doc-directory is set to this value. */
67 #define PATH_DOC "/usr/local/share/emacs/etc"
68
69 /* Where the configuration process believes the info tree lives. The
70 lisp variable configure-info-directory gets its value from this
71 macro, and is then used to set the Info-default-directory-list. */
72 #define PATH_INFO "/usr/local/share/info"
73
74 /* Where Emacs should store game score files. */
75 #define PATH_GAME "/usr/local/var/games/emacs"
76
77 /* Where Emacs should look for the application default file. */
78 #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"
79