texinfo-commits
[Top][All Lists]
Advanced

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

[no subject]


From: Patrice Dumas
Date: Fri, 14 Jan 2022 17:18:08 -0500 (EST)

branch: master
commit 18f8613984b995a8885ee0c5396157b333fef63f
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Jan 14 23:15:03 2022 +0100

    tp/init/chm.pm: add an explicit package Texinfo::Config to avoid an
    error with -d:TraceUse.
---
 tp/init/chm.pm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tp/init/chm.pm b/tp/init/chm.pm
index f46f177437..5d368d1712 100644
--- a/tp/init/chm.pm
+++ b/tp/init/chm.pm
@@ -24,6 +24,11 @@
 #
 
#-##############################################################################
 
+# loading with -d:TraceUse leads to an error like
+# texi2any: warning: error loading ../init/chm.pm: Undefined subroutine 
&Devel::TraceUse::texinfo_set_format_from_init_file called at ../init/chm.pm 
line 43.
+# defining the package here avoids this error.
+package Texinfo::Config;
+
 use strict;
 
 use File::Spec;



reply via email to

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