Variable: Info-directory-list

Info-directory-list is a variable defined in info.el.gz.

Value

("/root/.emacs.d/elpa/auctex-14.1.2" "/root/.emacs.d/elpa/evil-20251108.138" "/root/.emacs.d/elpa/dash-20260221.1346" "/root/.emacs.d/elpa/hyperbole-20260414.325" "/root/.emacs.d/elpa/magit-20260411.1452" "/root/.emacs.d/elpa/org-roam-20260224.1637" "/root/.emacs.d/elpa/magit-section-20260330.1102" "/root/.emacs.d/elpa/org-9.8.2" "/root/.emacs.d/elpa/transient-20260414.1009" "/root/.emacs.d/elpa/with-editor-20260301.1317" "/root/.emacs.d/elpa/compat-30.1.0.1" "/nix/store/sszxjnwzazz01486dqxi6cpi1wxyg88v-emacs-28-2/share/info/" "/usr/share/info/")

Documentation

List of directories to search for Info documentation files.

If nil, meaning not yet initialized, Info uses the environment variable INFOPATH to initialize it, or Info-default-directory-list if there is no INFOPATH variable in the environment, or the concatenation of the two if INFOPATH ends with a path-separator(var)/path-separator(fun).

When Info-directory-list is initialized from the value of Info-default-directory-list, and Emacs is installed in one of the standard directories, the directory of Info files that come with Emacs is put last (so that local Info files override standard ones).

When Info-directory-list is initialized from the value of Info-default-directory-list, and Emacs is not installed in one of the standard directories, the first element of the resulting list is the directory where Emacs installs the Info files that come with it. This is so that Emacs's own manual, which suits the version of Emacs you are using, will always be found first. This is useful when you install an experimental version of Emacs without removing the standard installation.

If you want to override the order of directories in Info-default-directory-list, set INFOPATH in the environment.

If you run the Emacs executable from the src directory in the Emacs source tree, and INFOPATH is not defined, the info directory in the source tree is used as the first element of Info-directory-list, in place of the installation Info directory. This is useful when you run a version of Emacs without installing it.

Probably introduced at or before Emacs version 19.20.

Source Code

;; Defined in /usr/src/emacs/lisp/info.el.gz
(defvar Info-directory-list nil
  "List of directories to search for Info documentation files.
If nil, meaning not yet initialized, Info uses the environment
variable INFOPATH to initialize it, or `Info-default-directory-list'
if there is no INFOPATH variable in the environment, or the
concatenation of the two if INFOPATH ends with a `path-separator'.

When `Info-directory-list' is initialized from the value of
`Info-default-directory-list', and Emacs is installed in one of the
standard directories, the directory of Info files that come with Emacs
is put last (so that local Info files override standard ones).

When `Info-directory-list' is initialized from the value of
`Info-default-directory-list', and Emacs is not installed in one
of the standard directories, the first element of the resulting
list is the directory where Emacs installs the Info files that
come with it.  This is so that Emacs's own manual, which suits the
version of Emacs you are using, will always be found first.  This
is useful when you install an experimental version of Emacs without
removing the standard installation.

If you want to override the order of directories in
`Info-default-directory-list', set INFOPATH in the environment.

If you run the Emacs executable from the `src' directory in the Emacs
source tree, and INFOPATH is not defined, the `info' directory in the
source tree is used as the first element of `Info-directory-list', in
place of the installation Info directory.  This is useful when you run
a version of Emacs without installing it.")