mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-04 10:50:50 +02:00
third set of documentation updates: readline and history
This commit is contained in:
+3
-3
@@ -4855,9 +4855,9 @@ sub update_sec_num {
|
||||
my $ret;
|
||||
|
||||
$level--; # here we start at 0
|
||||
if ($name =~ /^appendix/ || defined(@appendix_sec_num)) {
|
||||
if ($name =~ /^appendix/ || @appendix_sec_num) {
|
||||
# appendix style
|
||||
if (defined(@appendix_sec_num)) {
|
||||
if (@appendix_sec_num) {
|
||||
&incr_sec_num($level, @appendix_sec_num);
|
||||
} else {
|
||||
@appendix_sec_num = ('A', 0, 0, 0);
|
||||
@@ -4865,7 +4865,7 @@ sub update_sec_num {
|
||||
$ret = join('.', @appendix_sec_num[0..$level]);
|
||||
} else {
|
||||
# normal style
|
||||
if (defined(@normal_sec_num))
|
||||
if (@normal_sec_num)
|
||||
{
|
||||
&incr_sec_num($level, @normal_sec_num);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user