[latex3-commits] [git/LaTeX3-latex3-latex3] main: Add a missing \exp_not:n (68bac47e3)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Apr 21 13:12:23 CEST 2022


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/68bac47e36f9f3130b9781a7e27f586a26d4f296

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

commit 68bac47e36f9f3130b9781a7e27f586a26d4f296
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Apr 21 12:12:23 2022 +0100

    Add a missing \exp_not:n


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

68bac47e36f9f3130b9781a7e27f586a26d4f296
 l3kernel/CHANGELOG.md    | 3 +++
 l3kernel/l3text-case.dtx | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/l3kernel/CHANGELOG.md b/l3kernel/CHANGELOG.md
index 0701ee995..3dd5fa5a4 100644
--- a/l3kernel/CHANGELOG.md
+++ b/l3kernel/CHANGELOG.md
@@ -10,6 +10,9 @@ this project uses date-based 'snapshot' version identifiers.
 ### Changed
 - Allow for `\lccode`/`\uccode` changes in `\char_str_...case:n` functions
 
+### Fixed
+- Avoid expansion of macros 'late' in \text_...case:n
+
 ## [2022-04-20]
 
 ### Changed
diff --git a/l3kernel/l3text-case.dtx b/l3kernel/l3text-case.dtx
index 9ffd8a140..21ea0e3cb 100644
--- a/l3kernel/l3text-case.dtx
+++ b/l3kernel/l3text-case.dtx
@@ -457,7 +457,7 @@
          \use:c { @@_change_case_char_next_ #2 :nn } {#2} {#4}
       }
       {
-        \@@_change_case_store:n {#5}
+        \@@_change_case_store:n { \exp_not:n {#5} }
         \cs_if_exist:cTF
           {
             c_@@_





More information about the latex3-commits mailing list.