texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Texinfo/XS/convert/ConvertXS.xs (html_comman


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/XS/convert/ConvertXS.xs (html_command_description): remove build_html_formatting_state call, there is nothing set in C that needs to be passed.
Date: Sat, 05 Oct 2024 04:34:14 -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 f923bf1ad1 * tp/Texinfo/XS/convert/ConvertXS.xs 
(html_command_description): remove build_html_formatting_state call, there is 
nothing set in C that needs to be passed.
f923bf1ad1 is described below

commit f923bf1ad1986bd0a37f86ebd24fa7c56a14fc90
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Oct 5 10:34:19 2024 +0200

    * tp/Texinfo/XS/convert/ConvertXS.xs (html_command_description):
    remove build_html_formatting_state call, there is nothing set in C
    that needs to be passed.
    
    * tp/Texinfo/XS/convert/format_html.c (html_command_description): add
    const.
---
 ChangeLog                           | 9 +++++++++
 tp/Texinfo/XS/convert/ConvertXS.xs  | 2 --
 tp/Texinfo/XS/convert/format_html.c | 2 +-
 3 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 66243845cd..14ddeebd5f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2024-10-05  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/XS/convert/ConvertXS.xs (html_command_description):
+       remove build_html_formatting_state call, there is nothing set in C
+       that needs to be passed.
+
+       * tp/Texinfo/XS/convert/format_html.c (html_command_description): add
+       const.
+
 2024-10-05  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Makefile.am (MAINTAINERCLEANFILES): add Texinfo/Data.pm.
diff --git a/tp/Texinfo/XS/convert/ConvertXS.xs 
b/tp/Texinfo/XS/convert/ConvertXS.xs
index cc90d9e2f4..d4613d1730 100644
--- a/tp/Texinfo/XS/convert/ConvertXS.xs
+++ b/tp/Texinfo/XS/convert/ConvertXS.xs
@@ -2190,8 +2190,6 @@ html_command_description (SV *converter_in, SV 
*element_sv, const char *type=0)
                }
              text
                = html_command_description (self, element, text_type);
-
-             build_html_formatting_state (self);
            }
 
          if (text)
diff --git a/tp/Texinfo/XS/convert/format_html.c 
b/tp/Texinfo/XS/convert/format_html.c
index 2800d04c50..e2256b4faa 100644
--- a/tp/Texinfo/XS/convert/format_html.c
+++ b/tp/Texinfo/XS/convert/format_html.c
@@ -1360,7 +1360,7 @@ html_command_description (CONVERTER *self, const ELEMENT 
*command,
 {
   HTML_TARGET *target_info;
 
-  ELEMENT *manual_content = lookup_extra_element (command,
+  const ELEMENT *manual_content = lookup_extra_element (command,
                                                   AI_key_manual_content);
   if (manual_content)
     return 0;



reply via email to

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