[latex3-commits] [git/LaTeX3-latex3-latex3] main: Delay a message creation step (fixes #1139) (dc00690d3)
Joseph Wright
joseph.wright at morningstar2.co.uk
Tue Oct 11 13:52:52 CEST 2022
Repository : https://github.com/latex3/latex3
On branch : main
Link : https://github.com/latex3/latex3/commit/dc00690d321180d876186ca99ce2fb30b9f31f9a
>---------------------------------------------------------------
commit dc00690d321180d876186ca99ce2fb30b9f31f9a
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Tue Oct 11 12:51:58 2022 +0100
Delay a message creation step (fixes #1139)
>---------------------------------------------------------------
dc00690d321180d876186ca99ce2fb30b9f31f9a
l3kernel/CHANGELOG.md | 2 ++
l3kernel/l3msg.dtx | 6 ++++++
l3kernel/l3sys.dtx | 3 ---
3 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/l3kernel/CHANGELOG.md b/l3kernel/CHANGELOG.md
index a5b1842d9..f2cf73294 100644
--- a/l3kernel/CHANGELOG.md
+++ b/l3kernel/CHANGELOG.md
@@ -15,6 +15,8 @@ this project uses date-based 'snapshot' version identifiers.
[\#1109](https://github.com/latex3/latex3/issues/1109)), for many expandable
tokens (issue [\#1110](https://github.com/latex3/latex3/issues/1110)), and an
esoteric case (issue [\#1113](https://github.com/latex3/latex3/issues/1113))
+- Creation of a message with some engines (issue
+ [\#1139](https://github.com/latex3/latex3/issues/1139))
## [2022-09-28]
diff --git a/l3kernel/l3msg.dtx b/l3kernel/l3msg.dtx
index b369bb560..1e584b4c9 100644
--- a/l3kernel/l3msg.dtx
+++ b/l3kernel/l3msg.dtx
@@ -1761,6 +1761,12 @@
LaTeX~has~been~asked~to~replace~an~empty~pattern~by~'#1':~that~
would~lead~to~an~infinite~loop!
}
+\cs_if_exist:NF \tex_elapsedtime:D
+ {
+ \msg_new:nnnn { kernel } { no-elapsed-time }
+ { No~clock~detected~for~#1. }
+ { The~current~engine~provides~no~way~to~access~the~system~time. }
+ }
\msg_new:nnnn { kernel } { non-base-function }
{ Function~'#1'~is~not~a~base~function }
{
diff --git a/l3kernel/l3sys.dtx b/l3kernel/l3sys.dtx
index 28e4f0b83..ac3917b11 100644
--- a/l3kernel/l3sys.dtx
+++ b/l3kernel/l3sys.dtx
@@ -927,9 +927,6 @@ end
{ \int_value:w \tex_elapsedtime:D }
}
{
- \msg_new:nnnn { kernel } { no-elapsed-time }
- { No~clock~detected~for~#1. }
- { The~current~engine~provides~no~way~to~access~the~system~time. }
\cs_new:Npn \sys_timer:
{
\int_value:w
More information about the latex3-commits
mailing list.