[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/init/book.pm (book_element_file_name): expli
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/init/book.pm (book_element_file_name): explicit return value for the second return value of the function. |
Date: |
Wed, 19 Oct 2022 10:01:43 -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 dda82a8e5b * tp/init/book.pm (book_element_file_name): explicit return
value for the second return value of the function.
dda82a8e5b is described below
commit dda82a8e5bfefc3a37ce4225a80bd4c4dbbe2613
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Wed Oct 19 16:01:31 2022 +0200
* tp/init/book.pm (book_element_file_name): explicit return value
for the second return value of the function.
---
ChangeLog | 5 +++++
tp/init/book.pm | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 515d981efe..12d3149bd4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-10-19 Patrice Dumas <pertusus@free.fr>
+
+ * tp/init/book.pm (book_element_file_name): explicit return value
+ for the second return value of the function.
+
2022-10-19 Gavin Smith <gavinsmith0123@gmail.com>
* configue.ac (TEXINFO_DTD_VERSION): Make this 7.0.
diff --git a/tp/init/book.pm b/tp/init/book.pm
index f7258c01b8..440b710484 100644
--- a/tp/init/book.pm
+++ b/tp/init/book.pm
@@ -410,7 +410,7 @@ sub book_element_file_name($$$$)
if (defined($book_previous_default_filename)
and ($filename eq $book_previous_default_filename)) {
- return $book_previous_file_name;
+ return ($book_previous_file_name, undef);
}
my $prefix = $converter->{'document_name'};
@@ -438,7 +438,7 @@ sub book_element_file_name($$$$)
}
$book_previous_default_filename = $filename;
$book_previous_file_name = $new_file_name;
- return ($new_file_name, $filepath);
+ return ($new_file_name, undef);
}
texinfo_register_file_id_setting_function('tree_unit_file_name',
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/init/book.pm (book_element_file_name): explicit return value for the second return value of the function.,
Patrice Dumas <=