mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-11-14 18:33:55 +01:00
third set of documentation updates: readline and history
This commit is contained in:
1 parent
c7439376a3
commit
5edfaa45e7
36 files changed
+25432
-15286
No files matched your search
+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