texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/t/init/redefine_need.init (my_need_formattin


From: Patrice Dumas
Subject: branch master updated: * tp/t/init/redefine_need.init (my_need_formatting): get PACKAGE instead of PACKAGE_AND_VERSION to have a string independent of the Texinfo package version.
Date: Sat, 27 Jan 2024 13:55:09 -0500

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 33f0238cbd * tp/t/init/redefine_need.init (my_need_formatting): get 
PACKAGE instead of PACKAGE_AND_VERSION to have a string independent of the 
Texinfo package version.
33f0238cbd is described below

commit 33f0238cbd8038f6d7600af3ac2de61514c78293
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Jan 27 19:54:57 2024 +0100

    * tp/t/init/redefine_need.init (my_need_formatting): get PACKAGE
    instead of PACKAGE_AND_VERSION to have a string independent of the
    Texinfo package version.
---
 ChangeLog                                                           | 6 ++++++
 tp/t/init/redefine_need.init                                        | 2 +-
 tp/tests/customization/res_parser/test_redefine_need/test_need.html | 4 ++--
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8d8c7904fe..b9f981d3c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-01-27  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/t/init/redefine_need.init (my_need_formatting): get PACKAGE
+       instead of PACKAGE_AND_VERSION to have a string independent of the
+       Texinfo package version.
+
 2024-01-26  Patrice Dumas  <pertusus@free.fr>
 
        * doc/Makefile.am (gendocs_envvars, wwwdoc-build): link texinfo.tex
diff --git a/tp/t/init/redefine_need.init b/tp/t/init/redefine_need.init
index d2207f4ae2..f2009cbe04 100644
--- a/tp/t/init/redefine_need.init
+++ b/tp/t/init/redefine_need.init
@@ -11,7 +11,7 @@ sub my_need_formatting($$$)
   my $cmdname = shift;
   my $command = shift;
 
-  my $package_version = Texinfo::Common::get_constant('PACKAGE_AND_VERSION');
+  my $package_version = Texinfo::Common::get_constant('PACKAGE');
   $package_version = '' if (!defined($package_version));
 
   if ($command->{'extra'} and $command->{'extra'}->{'misc_args'}
diff --git 
a/tp/tests/customization/res_parser/test_redefine_need/test_need.html 
b/tp/tests/customization/res_parser/test_redefine_need/test_need.html
index b9d3a41535..d5b8a963aa 100644
--- a/tp/tests/customization/res_parser/test_redefine_need/test_need.html
+++ b/tp/tests/customization/res_parser/test_redefine_need/test_need.html
@@ -28,8 +28,8 @@ span:hover a.copiable-link {visibility: visible}
 <div class="top-level-extent" id="Top">
 <h1 class="top" id="Test-need"><span>Test need<a class="copiable-link" 
href="#Test-need"> &para;</a></span></h1>
 
-<p>@need </p><!-- need: 0.1 on line following (Texinfo 7.1dev+dev) -->
-<p>@need </p><!-- need: 0.1 (Texinfo 7.1dev+dev) -->
+<p>@need </p><!-- need: 0.1 on line following (Texinfo) -->
+<p>@need </p><!-- need: 0.1 (Texinfo) -->
 
 
 </div>



reply via email to

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