gbranden pushed a commit to branch master
in repository groff.
commit 3ee620d61ff57a3b0879b67c03e0d85b3e2bd103
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Jun 14 11:46:50 2024 -0500
[mm]: Improve `LI` diagnostic message.
* contrib/mm/m.tmac (LI): Name _all_ of the macros that begin lists.
---
contrib/mm/ChangeLog | 5 +++++
contrib/mm/m.tmac | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog
index 5704a492f..ebee74ad4 100644
--- a/contrib/mm/ChangeLog
+++ b/contrib/mm/ChangeLog
@@ -1,3 +1,8 @@
+2024-06-14 G. Branden Robinson <[email protected]>
+
+ * m.tmac (LI): Improve diagnostic message; name _all_ of the
+ macros that begin lists.
+
2024-06-14 G. Branden Robinson <[email protected]>
Test letter output more rigorously.
diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac
index 7ce93fbbb..b5ee843b6 100644
--- a/contrib/mm/m.tmac
+++ b/contrib/mm/m.tmac
@@ -2305,8 +2305,8 @@ within DF/DE
..
.\"---------------
.de LI
-.if \\n[li*lvl]<1 .@error \\$0: no list active; call AL, BL, BVL, ... \
-first
+.if \\n[li*lvl]<1 .@error \\$0: no list active; call AL, BL, BVL, DL, \
+ML, RL, VL, or LB first
.if \\n[li*li-spc]&(\\n[li*lvl]<=\\n[Ls]) \
. SP (u;\\n[li*li-spc]*\\n[Lsp])
.ne 2v
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit