texinfo-commits
[Top][All Lists]
Advanced

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

[7671] no node structure for a man page


From: gavinsmith0123
Subject: [7671] no node structure for a man page
Date: Wed, 8 Feb 2017 16:38:20 -0500 (EST)

Revision: 7671
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7671
Author:   gavin
Date:     2017-02-08 16:38:19 -0500 (Wed, 08 Feb 2017)
Log Message:
-----------
no node structure for a man page

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2017-02-05 13:00:17 UTC (rev 7670)
+++ trunk/ChangeLog     2017-02-08 21:38:19 UTC (rev 7671)
@@ -1,5 +1,10 @@
 2017-02-05  Gavin Smith  <address@hidden>
 
+       * info/session.c (forward_move_node_structure) 
+       (backward_move_node_structure): Don't do anything for a man page.
+
+2017-02-05  Gavin Smith  <address@hidden>
+
        * info/tilde.c (tilde_expand): Delete function, as it is not 
        actually called anywhere.
        (tilde_additional_prefixes, tilde_additional_suffixes)

Modified: trunk/info/session.c
===================================================================
--- trunk/info/session.c        2017-02-05 13:00:17 UTC (rev 7670)
+++ trunk/info/session.c        2017-02-08 21:38:19 UTC (rev 7671)
@@ -3063,13 +3063,13 @@
    last node. */
 int scroll_last_node = SLN_Stop;
 
-/* Move to 1st menu item, Next, Up/Next, or error in this window. Return
+/* Move to 1st menu item, Next, Up/Next, or error in this window.  Return
    non-zero on error, 0 on success.  Display an error message if there is an
    error. */
 static int
 forward_move_node_structure (WINDOW *window, int behaviour)
 {
-  if (window->node->flags & N_IsInternal)
+  if (window->node->flags & (N_IsInternal | N_IsManPage))
     return 1;
 
   switch (behaviour)
@@ -3185,7 +3185,7 @@
 static int
 backward_move_node_structure (WINDOW *window, int behaviour)
 {
-  if (window->node->flags & N_IsInternal)
+  if (window->node->flags & (N_IsInternal | N_IsManPage))
     return 1;
 
   switch (behaviour)




reply via email to

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