1 /* Hey Emacs, this is -*- C -*- code! */
3 Copyright (C) 1993, 1995, 1997, 1999, 2001-2014 Free Software
6 This file is part of GNU Emacs.
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.
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.
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/>. */
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 where datadir is eg /usr/local/share.
28 #define PATH_LOADSEARCH "/usr/local/share/emacs/lisp"
31 /* Like PATH_LOADSEARCH, but contains the non-standard pieces.
32 These are the site-lisp directories. Configure sets this to
33 ${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 This is combined with PATH_LOADSEARCH to make the default load-path.
37 If the --no-site-lisp option is used, this piece is excluded.
39 #define PATH_SITELOADSEARCH "/usr/local/share/emacs/site-lisp"
42 /* Like PATH_LOADSEARCH, but used only during the build process
43 when Emacs is dumping. Configure (using "make epaths-force") sets
44 this to $buildlisppath, which normally has the value: <srcdir>/lisp.
46 #define PATH_DUMPLOADSEARCH "../lisp"
48 /* The extra search path for programs to invoke. This is appended to
49 whatever the PATH environment variable says to set the Lisp
50 variable exec-path and the first file name in it sets the Lisp
51 variable exec-directory. exec-directory is used for finding
52 executables and other architecture-dependent files. */
53 #define PATH_EXEC "/usr/local/libexec/emacs"
55 /* Where Emacs should look for its architecture-independent data
56 files, like the NEWS file. The lisp variable data-directory
57 is set to this value. */
58 #define PATH_DATA "/usr/local/share/emacs/etc"
60 /* Where Emacs should look for X bitmap files.
61 The lisp variable x-bitmap-file-path is set based on this value. */
62 #define PATH_BITMAPS "/usr/include/X11/bitmaps"
64 /* Where Emacs should look for its docstring file. The lisp variable
65 doc-directory is set to this value. */
66 #define PATH_DOC "/usr/local/share/emacs/etc"
68 /* Where the configuration process believes the info tree lives. The
69 lisp variable configure-info-directory gets its value from this
70 macro, and is then used to set the Info-default-directory-list. */
71 #define PATH_INFO "/usr/local/share/info"
73 /* Where Emacs should store game score files. */
74 #define PATH_GAME "/usr/local/var/games/emacs"
76 /* Where Emacs should look for the application default file. */
77 #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"