texinfo-commits
[Top][All Lists]
Advanced

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

[6511] don't go down a menu for a dir node


From: Gavin D. Smith
Subject: [6511] don't go down a menu for a dir node
Date: Sat, 08 Aug 2015 09:57:08 +0000

Revision: 6511
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6511
Author:   gavin
Date:     2015-08-08 09:57:07 +0000 (Sat, 08 Aug 2015)
Log Message:
-----------
don't go down a menu for a dir node

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2015-08-08 09:42:32 UTC (rev 6510)
+++ trunk/ChangeLog     2015-08-08 09:57:07 UTC (rev 6511)
@@ -1,5 +1,11 @@
 2015-08-08  Gavin Smith  <address@hidden>
 
+       * info/session.c (forward_move_node_structure): Don't go down a 
+       menu for a dir node.  (Broken since 2015-07-13 when N_IsInternal 
+       ceased to be set for dir nodes.)
+       
+2015-08-08  Gavin Smith  <address@hidden>
+
        * doc/info-stnd.texi (Cursor Commands): Remove explanation for 
        having cursor movement commands in Info.  Change "have" to "has" 
        and "identical to" to "the same as".

Modified: trunk/info/session.c
===================================================================
--- trunk/info/session.c        2015-08-08 09:42:32 UTC (rev 6510)
+++ trunk/info/session.c        2015-08-08 09:57:07 UTC (rev 6511)
@@ -3052,8 +3052,10 @@
     case IS_Continuous:
       {
         /* If this node contains a menu, select its first entry.  Indices
-           are an exception, as their menus lead nowhere meaningful. */
-        if (!(window->node->flags & N_IsIndex))
+           are an exception, as their menus lead nowhere meaningful.  Likewise
+           for dir nodes. */
+        if (!(window->node->flags & N_IsIndex)
+            && !(window->node->flags & N_IsDir))
           {
             REFERENCE *entry;
 




reply via email to

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