From a4b2d6eb3734aa1b5aecf991bba277ffd4bcb171 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jul 22 2011 03:20:14 +0000 Subject: Update `texinfo_makeSeeAlso': - Remove LEVELS_DEEP variable. It isn't used. One level ahead is fine by now. --- diff --git a/Scripts/Functions/Help/Texinfo/texinfo_makeSeeAlso.sh b/Scripts/Functions/Help/Texinfo/texinfo_makeSeeAlso.sh index 5def903..a13a7de 100755 --- a/Scripts/Functions/Help/Texinfo/texinfo_makeSeeAlso.sh +++ b/Scripts/Functions/Help/Texinfo/texinfo_makeSeeAlso.sh @@ -1,7 +1,7 @@ #!/bin/bash # # texinfo_makeSeeAlso.sh -- This function creates a menu with all -# section entries found one or more levels down the current node +# section entries found one level ahead from the current node # information. The texinfo code of this menu is expanded wherever a # `@menu...@end menu' definition be found inside a section entry. # When no menu definition is found, nothing is expanded. @@ -36,9 +36,6 @@ function texinfo_makeSeeAlso { # Initialize section definition absolute path. local MANUAL_ENTRY="$1" - # Initialize amount of levels the menu is build for. - local LEVELS_DEEP="$2" - # Define pattern used to build list of child sections. A child # section shares the same path information of its parent with out # file extension. For example, if you have the `identity',