Change some `error's to `user-error's.
[emacs.git] / nt / epaths.nt
blob033ba889b952493724fd19fdd131eed40fa569b3
1 /* Hey Emacs, this is -*- C -*- code!  */
2 /* epaths.in file for MS-Windows build that uses the configure script.
4    Since Emacs on Windows must be relocatable to any directory, it
5    cannot have here hard-coded directories determined at configure
6    time.  Therefore, each directory must begin with %emacs_dir%, which
7    is resolved at startup to the root of the Emacs installation tree
8    (see w32.c:init_environment).
10    This file is edited at configure time to replace @VER@ by the Emacs
11    version being built (e.g., 25.9.77), @CFG@ by the canonical name of
12    the host system (e.g., i686-pc-mingw32), and @SRC@ by the root of
13    the Emacs source tree used to build Emacs.  */
15 Copyright (C) 1993, 1995, 1997, 1999, 2001-2013 Free Software Foundation, Inc.
17 This file is part of GNU Emacs.
19 GNU Emacs is free software: you can redistribute it and/or modify
20 it under the terms of the GNU General Public License as published by
21 the Free Software Foundation, either version 3 of the License, or
22 (at your option) any later version.
24 GNU Emacs is distributed in the hope that it will be useful,
25 but WITHOUT ANY WARRANTY; without even the implied warranty of
26 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27 GNU General Public License for more details.
29 You should have received a copy of the GNU General Public License
30 along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
33 /* Together with PATH_SITELOADSEARCH, this gives the default value of
34    load-path, which is the search path for the Lisp function "load".
35    Configure (using "make epaths-force") sets this to
36    ${standardlisppath}, which typically has a value like:
37    <datadir>/emacs/VERSION/lisp where datadir is eg /usr/local/share.
39 #define PATH_LOADSEARCH "%emacs_dir%/share/emacs/@VER@/lisp"
41 /* Like PATH_LOADSEARCH, but contains the non-standard pieces.
42    These are the site-lisp directories.  Configure sets this to
43    ${locallisppath}, which typically defaults to something like:
44    <datadir>/emacs/VERSION/site-lisp:<datadir>/emacs/site-lisp
45    but can be overridden by the --enable-locallisppath argument.
46    This is combined with PATH_LOADSEARCH to make the default load-path.
47    If the --no-site-lisp option is used, this piece is excluded.
49 #define PATH_SITELOADSEARCH "%emacs_dir%/share/emacs/@VER@/site-lisp;%emacs_dir%/share/emacs/site-lisp"
51 /* Like PATH_LOADSEARCH, but used only during the build process
52    when Emacs is dumping.  Configure (using "make epaths-force-w32") sets
53    this to $buildlisppath, which normally has the value: <srcdir>/lisp.
55 #define PATH_DUMPLOADSEARCH "@SRC@/lisp"
57 /* The extra search path for programs to invoke.  This is appended to
58    whatever the PATH environment variable says to set the Lisp
59    variable exec-path and the first file name in it sets the Lisp
60    variable exec-directory.  exec-directory is used for finding
61    executables and other architecture-dependent files.  */
62 #define PATH_EXEC "%emacs_dir%/libexec/emacs/@VER@/@CFG@"
64 /* Where Emacs should look for its architecture-independent data
65    files, like the NEWS file.  The lisp variable data-directory
66    is set to this value.  */
67 #define PATH_DATA "%emacs_dir%/share/emacs/@VER@/etc"
69 /* Where Emacs should look for X bitmap files.
70    The lisp variable x-bitmap-file-path is set based on this value.  */
71 #define PATH_BITMAPS ""
73 /* Where Emacs should look for its docstring file.  The lisp variable
74    doc-directory is set to this value.  */
75 #define PATH_DOC "%emacs_dir%/share/emacs/@VER@/etc"
77 /* Where the configuration process believes the info tree lives.  The
78    lisp variable configure-info-directory gets its value from this
79    macro, and is then used to set the Info-default-directory-list.  */
80 #define PATH_INFO "%emacs_dir%/share/info"
82 /* Where Emacs should store game score files.  */
83 #define PATH_GAME "%emacs_dir%/var/games/emacs"
85 /* Where Emacs should look for the application default file. */
86 #define PATH_X_DEFAULTS ""