Commit ed61592a authored by Jim Blandy's avatar Jim Blandy
Browse files

* paths.h (PATH_INFO): New path, to edited by the configuration

	process.
	* callproc.c (Vconfigure_info_directory): New variable, used
	internally by build process.
	(syms_of_callproc): DEFVAR it and initialize it.
parent 7af17c1c
...@@ -65,6 +65,7 @@ extern char **environ; ...@@ -65,6 +65,7 @@ extern char **environ;
#define max(a, b) ((a) > (b) ? (a) : (b)) #define max(a, b) ((a) > (b) ? (a) : (b))
Lisp_Object Vexec_path, Vexec_directory, Vdata_directory; Lisp_Object Vexec_path, Vexec_directory, Vdata_directory;
Lisp_Object Vconfigure_info_directory;
Lisp_Object Vshell_file_name; Lisp_Object Vshell_file_name;
...@@ -704,6 +705,13 @@ especially executable programs intended for Emacs to invoke."); ...@@ -704,6 +705,13 @@ especially executable programs intended for Emacs to invoke.");
"Directory of architecture-independent files that come with GNU Emacs,\n\ "Directory of architecture-independent files that come with GNU Emacs,\n\
intended for Emacs to use."); intended for Emacs to use.");
DEFVAR_LISP ("configure-info-directory", &Vconfigure_info_directory,
"For internal use by the build procedure only.\n\
This is the name of the directory in which the build procedure installed\n\
Emacs's info files; the default value for Info-default-directory-list\n\
includes this.");
Vconfigure_info_directory = build_string (PATH_INFO);
DEFVAR_LISP ("process-environment", &Vprocess_environment, DEFVAR_LISP ("process-environment", &Vprocess_environment,
"List of environment variables for subprocesses to inherit.\n\ "List of environment variables for subprocesses to inherit.\n\
Each element should be a string of the form ENVVARNAME=VALUE.\n\ Each element should be a string of the form ENVVARNAME=VALUE.\n\
......
...@@ -27,3 +27,9 @@ ...@@ -27,3 +27,9 @@
should be writable by everyone. THE STRING MUST END WITH A should be writable by everyone. THE STRING MUST END WITH A
SLASH!!! */ SLASH!!! */
#define PATH_LOCK "/usr/local/lib/emacs/lock/" #define PATH_LOCK "/usr/local/lib/emacs/lock/"
/* 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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment