gbranden pushed a commit to branch master
in repository groff.
commit 2a816c358100d4717475114454537561e1736ac1
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Oct 8 06:19:24 2025 -0500
[mdoc]: Fix code style nit.
* tmac/mdoc/doc-common (doc-end-document): Favor `nop` over text line
inside a conditional within a macro definition.
---
ChangeLog | 6 ++++++
tmac/mdoc/doc-common | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index a23b43e8f..a33933528 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-10-08 G. Branden Robinson <[email protected]>
+
+ * tmac/mdoc/doc-common (doc-end-document): Fix code style nit.
+ Favor `nop` over text line inside a conditional within a macro
+ definition.
+
2025-10-08 G. Branden Robinson <[email protected]>
[mandoc]: Regression-test useful output file line numbers
diff --git a/tmac/mdoc/doc-common b/tmac/mdoc/doc-common
index 9234c6f3e..0273a557a 100644
--- a/tmac/mdoc/doc-common
+++ b/tmac/mdoc/doc-common
@@ -1236,7 +1236,7 @@
. pl +1v
. nf
. ti 0
-\D'l \n[doc-line-length]u 0'
+. nop \D'l \n[doc-line-length]u 0'
. fi
. \}
. \}
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit