texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: * doc/info-stnd.texi (Custom Key Bindings): Also


From: Gavin D. Smith
Subject: branch master updated: * doc/info-stnd.texi (Custom Key Bindings): Also document XDG_CONFIG_DIRS and correct name of other env variable.
Date: Sun, 29 Oct 2023 13:51:44 -0400

This is an automated email from the git hooks/post-receive script.

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 5e4aabbc13 * doc/info-stnd.texi (Custom Key Bindings): Also document 
XDG_CONFIG_DIRS and correct name of other env variable.
5e4aabbc13 is described below

commit 5e4aabbc133affa1d116bacbe0610dd99ba586ed
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Oct 29 17:51:36 2023 +0000

    * doc/info-stnd.texi (Custom Key Bindings): Also document
    XDG_CONFIG_DIRS and correct name of other env variable.
---
 ChangeLog          |  5 +++++
 doc/info-stnd.texi | 12 ++++++++++--
 2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b5ac3b953e..f61996b363 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-10-29  Gavin Smith <gavinsmith0123@gmail.com>
+
+       * doc/info-stnd.texi (Custom Key Bindings): Also document
+       XDG_CONFIG_DIRS and correct name of other env variable.
+
 2023-10-29  Gavin Smith <gavinsmith0123@gmail.com>
 
        * info/infomap.c (locate_init_file): Check through
diff --git a/doc/info-stnd.texi b/doc/info-stnd.texi
index b4f7506fa9..356cb0a03e 100644
--- a/doc/info-stnd.texi
+++ b/doc/info-stnd.texi
@@ -2302,8 +2302,8 @@ On startup, GNU Info looks for a configuration file:
 @itemize @bullet
 @item
 First, Info checks
-for @file{@env{XDG_DATA_HOME/texinfo/infokey}}. The default value
-of @env{XDG_DATA_HOME} is @file{~/.config},
+for @file{@env{$XDG_CONFIG_HOME/texinfo/infokey}}.  The default value
+of @env{$XDG_CONFIG_HOME} is @file{~/.config},
 so usually the file will be at @file{~/.config/texinfo/infokey}.
 (@file{~} here refers to the user's @env{HOME} directory.)
 
@@ -2314,9 +2314,17 @@ the MS-DOS version of Info looks for a file 
@file{_infokey} instead.  If
 the @env{HOME} variable is not defined, Info additionally looks in the
 current directory.}
 
+@item
+Finally, Info checks through @env{$XDG_CONFIG_DIRS} (default value:
+@samp{/etc/xdg}), which is a colon-separated list of directory names,
+for a file named @file{texinfo/infokey}.
+
 @end itemize
 
 @noindent
+This search order is in accordance with the
+@uref{https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html,
 XDG Base Directory Specification}.
+
 To use an alternative configuration file, use the @option{--init-file}
 option (@pxref{--init-file}).
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]