Commit 74cc8ff9 authored by Glenn Morris's avatar Glenn Morris

* src/emacs.c (syms_of_emacs) <installation-directory>: Doc fix.

This confusingly-named variable is typically nil in an installed Emacs,
and in an uninstalled Emacs points to the build directory, rather
than eg the target installation directory.  Yay.
parent cd394be1
2012-01-10 Glenn Morris <rgm@gnu.org> 2012-01-10 Glenn Morris <rgm@gnu.org>
* emacs.c (syms_of_emacs) <installation-directory>: Doc fix.
* epaths.in (PATH_LOADSEARCH, PATH_EXEC, PATH_DATA, PATH_DOC): * epaths.in (PATH_LOADSEARCH, PATH_EXEC, PATH_DATA, PATH_DOC):
Update template values to be closer to their typical values these days. Update template values to be closer to their typical values these days.
......
...@@ -2480,9 +2480,11 @@ The value is nil if that directory's name is not known. */); ...@@ -2480,9 +2480,11 @@ The value is nil if that directory's name is not known. */);
DEFVAR_LISP ("installation-directory", Vinstallation_directory, DEFVAR_LISP ("installation-directory", Vinstallation_directory,
doc: /* A directory within which to look for the `lib-src' and `etc' directories. doc: /* A directory within which to look for the `lib-src' and `etc' directories.
This is non-nil when we can't find those directories in their standard In an installed Emacs, this is normally nil. It is non-nil if
installed locations, but we can find them near where the Emacs executable both `lib-src' (on MS-DOS, `info') and `etc' directories are found
was found. */); within `invocation-directory' or its parent. For example, this
is the case when running an uninstalled Emacs executable from its
build directory. */);
Vinstallation_directory = Qnil; Vinstallation_directory = Qnil;
DEFVAR_LISP ("system-messages-locale", Vsystem_messages_locale, DEFVAR_LISP ("system-messages-locale", Vsystem_messages_locale,
......
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