[latex3-commits] [git/LaTeX3-latex3-latex3] master: Avoid \__msg_expandable_error:n usage (b9abf05)

Joseph Wright joseph.wright at morningstar2.co.uk
Sun Apr 1 21:29:00 CEST 2018


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/b9abf05a7ffb76e6c78d69ab332528866bc45c66

>---------------------------------------------------------------

commit b9abf05a7ffb76e6c78d69ab332528866bc45c66
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Apr 1 15:29:37 2018 +0100

    Avoid \__msg_expandable_error:n usage
    
    Either a kernel-level message or 'do not do this'.


>---------------------------------------------------------------

b9abf05a7ffb76e6c78d69ab332528866bc45c66
 l3kernel/l3msg.dtx                          |   16 ----------------
 l3trial/l3kernel-extras/l3kernel-extras.dtx |   10 ----------
 l3trial/l3ldb/l3ldb.dtx                     |    4 ++--
 3 files changed, 2 insertions(+), 28 deletions(-)

diff --git a/l3kernel/l3msg.dtx b/l3kernel/l3msg.dtx
index 98e3a77..b8979e2 100644
--- a/l3kernel/l3msg.dtx
+++ b/l3kernel/l3msg.dtx
@@ -666,22 +666,6 @@
 %   be much shorter than a line, otherwise it is cropped.
 % \end{function}
 %
-% \begin{function}[EXP, added = 2011-08-11, updated = 2011-08-13]
-%   {\__msg_expandable_error:n}
-%   \begin{syntax}
-%     \cs{__msg_expandable_error:n} \Arg{error message}
-%   \end{syntax}
-%   Issues an \enquote{Undefined error} message from \TeX{} itself,
-%   and prints the \meta{error message}. The \meta{error message}
-%   must be short: it is cropped at the end of one line.
-%   \begin{texnote}
-%     This function expands to an empty token list after two steps.
-%     Tokens inserted in response to \TeX{}'s prompt are read with
-%     the current category code setting, and inserted just after
-%     the place where the error message was issued.
-%   \end{texnote}
-% \end{function}
-%
 % \end{documentation}
 %
 % \begin{implementation}
diff --git a/l3trial/l3kernel-extras/l3kernel-extras.dtx b/l3trial/l3kernel-extras/l3kernel-extras.dtx
index 79ac458..0f08925 100644
--- a/l3trial/l3kernel-extras/l3kernel-extras.dtx
+++ b/l3trial/l3kernel-extras/l3kernel-extras.dtx
@@ -85,16 +85,6 @@
 %   be shorter than a line, otherwise it will be cropped.
 % \end{function}
 %
-% \begin{function}[EXP]{\__msg_expandable_warning:n}
-%   \begin{syntax}
-%     \cs{__msg_expandable_warning:n} \Arg{warning message}
-%   \end{syntax}
-%   Issues an \enquote{end of file when \tn{if} is incomplete} warning
-%   from \eTeX{} itself, and prints the \meta{warning message}. The
-%   \meta{warning message} must be short: it is cropped at the end of
-%   one line.
-% \end{function}
-%
 % \subsection{Support for detecting deprecated functions}
 %
 % \begin{function}{\__cs_protected_deprecated:N}
diff --git a/l3trial/l3ldb/l3ldb.dtx b/l3trial/l3ldb/l3ldb.dtx
index 0e93c95..1373aab 100644
--- a/l3trial/l3ldb/l3ldb.dtx
+++ b/l3trial/l3ldb/l3ldb.dtx
@@ -490,7 +490,7 @@
         \fi:
         \tl_set_eq:NN \l_ldb_internal_tl \l_ldb_tb_tl
       \or: % end
-        \__msg_expandable_error:n { Not~possible }
+        \__kernel_msg_expandable_error:n { Not~possible }
       \or: % complete
         \if_meaning:w \l_ldb_tc_tl \q_nil
           \cs_ggen_prop:N \l_ldb_tc_tl
@@ -814,7 +814,7 @@
   {
     \if_meaning:w \q_nil #2
     \else:
-      \__msg_expandable_error:n
+      \__kernel_msg_expandable_error:n
         { Not~ nil~ #1:~ \exp_not:N#2~containing:~\tl_to_str:N #2 }
     \fi:
   }





More information about the latex3-commits mailing list