texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: Add a comment, correct a typo


From: Patrice Dumas
Subject: branch master updated: Add a comment, correct a typo
Date: Mon, 23 Dec 2024 17:28:52 -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 a660b58121 Add a comment, correct a typo
a660b58121 is described below

commit a660b581219c5d72eb7207858209c3c1f5b7c5e7
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Mon Dec 23 23:28:40 2024 +0100

    Add a comment, correct a typo
---
 tp/Texinfo/Convert/HTML.pm | 3 +++
 tp/Texinfo/XSLoader.pm     | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index d5516a57df..8969555fe0 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -7445,6 +7445,9 @@ sub _convert_menu_entry_type($$$)
       $name_no_number = $self->command_text($section, 'text_nonumber');
     }
   }
+  # A leading menu symbol is only inserted if the section name is not
+  # used since the section name comes with a section number (unless
+  # NUMBER_SECTIONS is 0)
   if (!defined($name) or $name eq '') {
     if ($name_entry) {
       $name = $self->convert_tree($name_entry, 'convert menu_entry_name');
diff --git a/tp/Texinfo/XSLoader.pm b/tp/Texinfo/XSLoader.pm
index ff8d057061..fe053416ed 100644
--- a/tp/Texinfo/XSLoader.pm
+++ b/tp/Texinfo/XSLoader.pm
@@ -258,7 +258,7 @@ sub init {
   # matches the XS object XS_VERSION value.  In our case, XS_VERSION
   # is set based on tp/Texinfo/XS/configure.ac AC_INIT version passed
   # through Makefile.am.  The tp/Texinfo/XS/configure.ac AC_INIT version
-  # and thePerl modules VERSION should be synchronized with the top-level
+  # and the Perl modules VERSION should be synchronized with the top-level
   # configure.ac version.  The check therefore ensures that the XS objects
   # and the Perl module come from the same GNU Texinfo distribution.
   #print STDERR "REMARK: XS version: $xs_version\n";



reply via email to

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