X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/2db38a6f98c2abb42b746064ce97417cccc27e68..cfbf790d80eaa399afceecd9a6c3e2e76bca59b0:/nt/paths.h diff --git a/nt/paths.h b/nt/paths.h index 3ff8ec8dda..e9601a7ce3 100644 --- a/nt/paths.h +++ b/nt/paths.h @@ -1,5 +1,7 @@ -/* Copyright (C) 1993, 1995, 1997, 1999, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +/* paths.h file for MS Windows + +Copyright (C) 1993, 1995, 1997, 1999, 2001-2013 Free Software +Foundation, Inc. This file is part of GNU Emacs. @@ -16,11 +18,18 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Emacs. If not, see . */ +/* Relative file names in this file that begin with "%emacs_dir%/" are + treated specially by decode_env_path: they are expanded relative to + the value of the emacs_dir environment variable, which points to + the root of the Emacs tree. */ /* The default search path for Lisp function "load". - This sets load-path. */ + Together with PATH_SITELOADSEARCH, this sets load-path. */ /* #define PATH_LOADSEARCH "/usr/local/lib/emacs/lisp" */ -#define PATH_LOADSEARCH "C:/emacs/lisp" +#define PATH_LOADSEARCH "%emacs_dir%/lisp;%emacs_dir%/leim" + +/* Like PATH_LOADSEARCH, but contains the non-standard pieces. */ +#define PATH_SITELOADSEARCH "%emacs_dir%/site-lisp;%emacs_dir%/../site-lisp" /* Like PATH_LOADSEARCH, but used only when Emacs is dumping. This path is usually identical to PATH_LOADSEARCH except that the entry @@ -34,13 +43,13 @@ along with GNU Emacs. If not, see . */ 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 "C:/emacs/bin" +#define PATH_EXEC "%emacs_dir%/bin;%emacs_dir%/lib-src/oo-spd/i386;%emacs_dir%/lib-src/oo/i386" /* 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 "C:/emacs/data" +#define PATH_DATA "%emacs_dir%/etc" /* Where Emacs should look for X bitmap files. The lisp variable x-bitmap-file-path is set based on this value. */ @@ -48,13 +57,10 @@ along with GNU Emacs. If not, see . */ /* Where Emacs should look for its docstring file. The lisp variable doc-directory is set to this value. */ -#define PATH_DOC "C:/emacs/etc" +#define PATH_DOC "%emacs_dir%/etc" /* 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. */ /* #define PATH_INFO "/usr/local/info" */ #define PATH_INFO "C:/emacs/info" - -/* arch-tag: f6d46f3c-e1e9-436b-8629-edcaf6597973 - (do not change this comment) */