texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Patrice Dumas
Date: Sun, 10 Mar 2024 09:35:47 -0400 (EDT)

branch: master
commit 9c86b2b5676eeb908a84d1a7cf334875377bc851
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Mar 10 13:51:00 2024 +0100

    * tp/Texinfo/Convert/Converter.pm (determine_files_and_directory),
    tp/Texinfo/Convert/Text.pm (output): remove useless calls to
    global_commands_information.
---
 ChangeLog                       | 6 ++++++
 tp/Texinfo/Convert/Converter.pm | 5 -----
 tp/Texinfo/Convert/Text.pm      | 2 --
 3 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 07187e870d..66d356c17f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-03-10  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/Convert/Converter.pm (determine_files_and_directory),
+       tp/Texinfo/Convert/Text.pm (output): remove useless calls to
+       global_commands_information.
+
 2024-03-10  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/Convert/HTML.pm (_node_redirections): move code related
diff --git a/tp/Texinfo/Convert/Converter.pm b/tp/Texinfo/Convert/Converter.pm
index 6df9d30cfd..7f2f4f385c 100644
--- a/tp/Texinfo/Convert/Converter.pm
+++ b/tp/Texinfo/Convert/Converter.pm
@@ -689,11 +689,6 @@ sub determine_files_and_directory($$)
     $input_basename =~ s/\.te?x(i|info)?$//;
   }
 
-  my $global_commands;
-  if ($self->{'document'}) {
-    $global_commands = $self->{'document'}->global_commands_information();
-  }
-
   my $setfilename;
   if (defined($self->get_conf('setfilename'))) {
     $setfilename = $self->get_conf('setfilename');
diff --git a/tp/Texinfo/Convert/Text.pm b/tp/Texinfo/Convert/Text.pm
index a332da7f8e..188b9124f3 100644
--- a/tp/Texinfo/Convert/Text.pm
+++ b/tp/Texinfo/Convert/Text.pm
@@ -871,10 +871,8 @@ sub output($$)
   my $document = shift;
 
   my $document_info;
-  my $global_commands;
   if ($document) {
     $document_info = $document->global_information();
-    $global_commands = $document->global_commands_information();
   }
 
   Texinfo::Common::set_output_encodings($self, $document);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]