gbranden pushed a commit to branch master
in repository groff.
commit 6b2962db367d9ca09732a67db0f049503f1b567a
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Jan 11 16:24:35 2026 -0600
[mm]: Fix Savannah #67889.
* contrib/mm/m.tmac: (LT): Define `@cover` string as `\\$0`, not "LT"
literally. Conceivably, a document could rename or alias the `LT`
macro; in a diagnostic prompted by an invalid attempt to combine
multiple cover page schemes, we want to report the name that had
actual effect.
Fixes <https://savannah.gnu.org/bugs/?67889>. Thanks to Alexis
Hildebrandt for the report.
---
contrib/mm/ChangeLog | 11 +++++++++++
contrib/mm/m.tmac | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog
index 6cde0da1b..6550a0fe5 100644
--- a/contrib/mm/ChangeLog
+++ b/contrib/mm/ChangeLog
@@ -1,3 +1,14 @@
+2026-01-11 G. Branden Robinson <[email protected]>
+
+ * m.tmac: (LT): Define `@cover` string as `\\$0`, not "LT"
+ literally. Conceivably, a document could rename or alias the
+ `LT` macro; in a diagnostic prompted by an invalid attempt to
+ combine multiple cover page schemes, we want to report the name
+ that had actual effect.
+
+ Fixes <https://savannah.gnu.org/bugs/?67889>. Thanks to Alexis
+ Hildebrandt for the report.
+
2026-01-01 G. Branden Robinson <[email protected]>
* m.tmac: (PGFORM, pg@enable-trap): Invoke page location trap
diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac
index 2a5c7853c..de12fb760 100644
--- a/contrib/mm/m.tmac
+++ b/contrib/mm/m.tmac
@@ -4062,7 +4062,7 @@ undefined
.\" to remove the alias itself.
.de LT
\\*[debug@dump-args]\\
-.ds @cover LT
+.ds @cover \\$0
.@disable AF AS AE AT AU COVER CS OK TL MT \" same list as LO
.ds let*type BL
.nr Pi 5
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit