[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/Convert/HTML.pm (converter_initializ
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Texinfo/Convert/HTML.pm (converter_initialize): do not allow customization of 'commands_args'. It is not already used and it is better to avoid making such changes which amounts to changing the Texinfo @-commands arguments meaning. |
Date: |
Wed, 01 Sep 2021 10:17:38 -0400 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new a14c01a * tp/Texinfo/Convert/HTML.pm (converter_initialize): do not
allow customization of 'commands_args'. It is not already used and it is
better to avoid making such changes which amounts to changing the Texinfo
@-commands arguments meaning.
a14c01a is described below
commit a14c01a48e61ff5f52109f4f7c7a45443e14050f
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Wed Sep 1 16:17:30 2021 +0200
* tp/Texinfo/Convert/HTML.pm (converter_initialize): do not
allow customization of 'commands_args'. It is not already used
and it is better to avoid making such changes which amounts
to changing the Texinfo @-commands arguments meaning.
---
ChangeLog | 7 +++++++
tp/TODO | 3 +++
tp/Texinfo/Convert/HTML.pm | 5 +----
3 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index a76d5e8..b3998af 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2021-09-01 Patrice Dumas <pertusus@free.fr>
+ * tp/Texinfo/Convert/HTML.pm (converter_initialize): do not
+ allow customization of 'commands_args'. It is not already used
+ and it is better to avoid making such changes which amounts
+ to changing the Texinfo @-commands arguments meaning.
+
+2021-09-01 Patrice Dumas <pertusus@free.fr>
+
* util/texi-elements-by-size: use $parser->registered_errors().
2021-09-01 Patrice Dumas <pertusus@free.fr>
diff --git a/tp/TODO b/tp/TODO
index f311877..c28d19f 100644
--- a/tp/TODO
+++ b/tp/TODO
@@ -17,6 +17,9 @@ Before next release
Bugs
====
+review interface in texi2any.pl of
+set_global_format()
+See comment there
Profiling
=========
diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index de58608..9e67f26 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -5239,10 +5239,7 @@ sub converter_initialize($)
}
foreach my $command (keys %{$self->{'commands_conversion'}}) {
- if (exists($Texinfo::Config::commands_args{$command})) {
- $self->{'commands_args'}->{$command}
- = $Texinfo::Config::commands_args{$command};
- } elsif (exists($default_commands_args{$command})) {
+ if (exists($default_commands_args{$command})) {
$self->{'commands_args'}->{$command} = $default_commands_args{$command};
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/Convert/HTML.pm (converter_initialize): do not allow customization of 'commands_args'. It is not already used and it is better to avoid making such changes which amounts to changing the Texinfo @-commands arguments meaning.,
Patrice Dumas <=