texinfo-commits
[Top][All Lists]
Advanced

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

[5808] hide Info tags properly


From: Gavin D. Smith
Subject: [5808] hide Info tags properly
Date: Mon, 08 Sep 2014 13:43:00 +0000

Revision: 5808
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5808
Author:   gavin
Date:     2014-09-08 13:42:59 +0000 (Mon, 08 Sep 2014)
Log Message:
-----------
hide Info tags properly

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2014-09-08 13:32:57 UTC (rev 5807)
+++ trunk/ChangeLog     2014-09-08 13:42:59 UTC (rev 5808)
@@ -6,6 +6,9 @@
        node.  Remove word "Info" from heading in node.
        (index_index): Comment changed.
 
+       * info/info-utils.c (printed_representation): Return byte length 0 for
+       "Info tags" so that they are hidden on the screen.
+
 2014-09-07  Gavin Smith  <address@hidden>
 
        * info/window.c (set_window_pagetop): Set goal column as well as point

Modified: trunk/info/info-utils.c
===================================================================
--- trunk/info/info-utils.c     2014-09-08 13:32:57 UTC (rev 5807)
+++ trunk/info/info-utils.c     2014-09-08 13:42:59 UTC (rev 5808)
@@ -505,7 +505,7 @@
       if (info_tag (*iter, &cur_len))
         {
           *pchars = 0; 
-          *pbytes = cur_len;
+          *pbytes = 0;
           ITER_SETBYTES (*iter, cur_len);
           return cur_ptr;
         }




reply via email to

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