From 2e7edb80e369fee740433386b4d7bcbb32c2619d Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Mon, 11 May 1998 18:31:17 +0000 Subject: do_cmd_kwindex(): Re-implement now that \kwindex is used again (ref man). --- Doc/perl/python.perl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl index 4c9d86d..3a1eaa1 100644 --- a/Doc/perl/python.perl +++ b/Doc/perl/python.perl @@ -284,6 +284,16 @@ sub do_cmd_index{ "$aname$anchor_invisible_mark" . $_; } +sub do_cmd_kwindex{ + local($_) = @_; + my($str,$br_id) = next_argument_id(); + # + my($name,$aname,$ahref) = link_info($br_id); + add_index_entry("$str!keyword", $ahref); + add_index_entry("keyword!$str", $ahref); + "$aname$anchor_invisible_mark" . $_; +} + sub do_cmd_indexii{ local($_) = @_; my($str1,$br_id) = next_argument_id(); -- cgit v0.12