[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[5905] include line numbers in apropos node
From: |
Gavin D. Smith |
Subject: |
[5905] include line numbers in apropos node |
Date: |
Sun, 02 Nov 2014 15:54:09 +0000 |
Revision: 5905
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5905
Author: gavin
Date: 2014-11-02 15:54:08 +0000 (Sun, 02 Nov 2014)
Log Message:
-----------
include line numbers in apropos node
Modified Paths:
--------------
trunk/ChangeLog
trunk/info/indices.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2014-10-31 17:21:05 UTC (rev 5904)
+++ trunk/ChangeLog 2014-11-02 15:54:08 UTC (rev 5905)
@@ -1,3 +1,8 @@
+2014-10-02 Gavin Smith <address@hidden>
+
+ * info/indices.c (info_index_apropos): Include line numbers in
+ apropos node.
+
2014-10-31 Gavin Smith <address@hidden>
* info/info-utils.c (scan_node_contents): Return a new NODE
Modified: trunk/info/indices.c
===================================================================
--- trunk/info/indices.c 2014-10-31 17:21:05 UTC (rev 5904)
+++ trunk/info/indices.c 2014-11-02 15:54:08 UTC (rev 5905)
@@ -677,8 +677,10 @@
while (text_buffer_off (&message) - line_start < 40)
text_buffer_add_char (&message, ' ');
- text_buffer_printf (&message, "(%s)%s.\n",
+ text_buffer_printf (&message, "(%s)%s.",
filename, apropos_list[i]->nodename);
+ text_buffer_printf (&message, " (line %ld)\n",
+ apropos_list[i]->line_number);
free (filename);
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [5905] include line numbers in apropos node,
Gavin D. Smith <=