texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: Update POD of index_entry extra key.


From: Patrice Dumas
Subject: branch master updated: Update POD of index_entry extra key.
Date: Sat, 11 May 2024 09:01:14 -0400

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

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 6213cca494 Update POD of index_entry extra key.
6213cca494 is described below

commit 6213cca494966a418f6b22c51ffd9c530a1edcf0
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat May 11 15:01:14 2024 +0200

    Update POD of index_entry extra key.
---
 ChangeLog                 |  4 ++++
 tp/Texinfo/ParserNonXS.pm | 12 +++++++++---
 2 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index cbdbf4b2c6..91212a065a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2024-05-11  Patrice Dumas  <pertusus@free.fr>
+
+       Update POD of index_entry extra key.
+
 2024-05-11  Patrice Dumas  <pertusus@free.fr>
 
        Update documentation POD with new organization of @def* trees.
diff --git a/tp/Texinfo/ParserNonXS.pm b/tp/Texinfo/ParserNonXS.pm
index 02c5773ea3..55c4f318a7 100644
--- a/tp/Texinfo/ParserNonXS.pm
+++ b/tp/Texinfo/ParserNonXS.pm
@@ -8857,9 +8857,15 @@ associated index entry and for @anchor.
 The index entry information is associated to @-commands that have an associated
 index entry.  The associated information should not be directly accessed,
 instead 
L<C<Texinfo::Common::lookup_index_entry>|Texinfo::Common/($index_entry, 
$index_info) = lookup_index_entry($index_entry_info, $indices_information)>
-should be called on the C<extra> I<index_entry> value.  The
-I<$indices_information> is the information on a Texinfo manual indices obtained
-from
+should be called on the C<extra> I<index_entry> value:
+
+   my ($index_entry, $index_info)
+    = Texinfo::Common::lookup_index_entry(
+                        $element->{'extra'}->{'index_entry'},
+                        $indices_information);
+
+The I<$indices_information> is the information on a Texinfo manual indices
+obtained from
 L<< 
C<Texinfo::Document::indices_information>|Texinfo::Document/$indices_information
 = $document->indices_information() >>.
 The index entry information hash returned by
 C<Texinfo::Common::lookup_index_entry> is described in



reply via email to

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