texinfo-commits
[Top][All Lists]
Advanced

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

[5885] check for "index" in info_indices_of_file_buffer


From: Gavin D. Smith
Subject: [5885] check for "index" in info_indices_of_file_buffer
Date: Wed, 22 Oct 2014 22:21:22 +0000

Revision: 5885
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5885
Author:   gavin
Date:     2014-10-22 22:21:20 +0000 (Wed, 22 Oct 2014)
Log Message:
-----------
check for "index" in info_indices_of_file_buffer

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/info/indices.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2014-10-22 22:19:04 UTC (rev 5884)
+++ trunk/ChangeLog     2014-10-22 22:21:20 UTC (rev 5885)
@@ -27,6 +27,9 @@
        Info tag, as they should have been removed already.
        * info/window.c (info_tag): Function removed.
 
+       * info/indices.c (info_indices_of_file_buffer): Look for nodes 
+       with "index" in the name as well as "Index".
+
 2014-10-21  Karl Berry  <address@hidden>
 
        * tp/texi2any.pl (makeinfo_help),

Modified: trunk/info/indices.c
===================================================================
--- trunk/info/indices.c        2014-10-22 22:19:04 UTC (rev 5884)
+++ trunk/info/indices.c        2014-10-22 22:21:20 UTC (rev 5885)
@@ -143,7 +143,8 @@
 
       for (i = 0; (tag = file_buffer->tags[i]); i++)
         {
-          if (strstr (tag->nodename, "Index")
+          if ((strstr (tag->nodename, "Index")
+               || strstr (tag->nodename, "index"))
               && tag->nodelen != 0) /* Not an anchor. */
             {
               NODE *node;




reply via email to

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