Variable: installation-directory

installation-directory is a variable defined in emacs.c.

Value

nil

Documentation

A directory within which to look for the lib-src and etc directories.

In an installed Emacs, this is normally nil. It is non-nil if both lib-src (on MS-DOS, info) and etc directories are found within the variable invocation-directory(var)/invocation-directory(fun) or its parent. For example, this is the case when running an uninstalled Emacs executable from its build directory.

View in manual

Probably introduced at or before Emacs version 19.23.

Source Code

// Defined in /usr/src/emacs/src/emacs.c
  DEFVAR_LISP ("installation-directory", Vinstallation_directory,
	       doc: /* A directory within which to look for the `lib-src' and `etc' directories.
In an installed Emacs, this is normally nil.  It is non-nil if
both `lib-src' (on MS-DOS, `info') and `etc' directories are found
within the variable `invocation-directory' or its parent.  For example,
this is the case when running an uninstalled Emacs executable from its
build directory.  */);