texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Texinfo/Convert/TexinfoSXML.pm (_sxml_attrib


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/Convert/TexinfoSXML.pm (_sxml_attributes): rename sxml_attributes as _sxml_attributes, it is an internal function.
Date: Mon, 12 Sep 2022 05:40:52 -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 501ad88e1b * tp/Texinfo/Convert/TexinfoSXML.pm (_sxml_attributes): 
rename sxml_attributes as _sxml_attributes, it is an internal function.
501ad88e1b is described below

commit 501ad88e1bb7c4e146c72f75c997b0968b84c977
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Mon Sep 12 11:40:38 2022 +0200

    * tp/Texinfo/Convert/TexinfoSXML.pm (_sxml_attributes): rename
    sxml_attributes as _sxml_attributes, it is an internal function.
---
 ChangeLog                         | 5 +++++
 tp/Texinfo/Convert/TexinfoSXML.pm | 6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 574cb506d3..21ce3ee599 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-09-12  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/Convert/TexinfoSXML.pm (_sxml_attributes): rename
+       sxml_attributes as _sxml_attributes, it is an internal function.
+
 2022-09-12  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/Convert/TexinfoXML.pm (format_header): revert
diff --git a/tp/Texinfo/Convert/TexinfoSXML.pm 
b/tp/Texinfo/Convert/TexinfoSXML.pm
index bf5c035c05..4fb4f1ca3e 100644
--- a/tp/Texinfo/Convert/TexinfoSXML.pm
+++ b/tp/Texinfo/Convert/TexinfoSXML.pm
@@ -63,7 +63,7 @@ sub protect_text($$)
   return $string;
 }
 
-sub sxml_attributes($$)
+sub _sxml_attributes($$)
 {
   my $self = shift;
   my $attributes = shift;
@@ -90,7 +90,7 @@ sub element($$$)
   my $attributes = shift;
   my $result = '('.$element_name." ";
   $attributes = [] if (!defined($attributes));
-  $result .= $self->sxml_attributes($attributes);
+  $result .= $self->_sxml_attributes($attributes);
   $result .= ')';
   return $result;
 }
@@ -103,7 +103,7 @@ sub open_element($$$)
   my $attributes = shift;
   my $result = '('.$element_name." ";
   $attributes = [] if (!defined($attributes));
-  $result .= $self->sxml_attributes($attributes);
+  $result .= $self->_sxml_attributes($attributes);
   $result .= " ";
   return $result;
 }



reply via email to

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