gbranden pushed a commit to branch master
in repository groff.

commit 9b646176cba10dba8463c7bd180f8f0b935e64a6
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Jul 22 21:41:51 2025 -0500

    [man,mdoc]: Parallelize site-local file loading.
    
    * tmac/an.tmac ([initialization]):
    * tmac/doc.tmac ([initialization]): Parallelize loading of site-local
      customization.  Use `msoquiet`, but only if it's available--that way
      we avoid a hard dependency on groff 1.23 or later.  If not, use `mso`
      as groff 1.22.4 and earlier did.
---
 ChangeLog     | 8 ++++++++
 tmac/an.tmac  | 5 +++--
 tmac/doc.tmac | 5 +++--
 3 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4035d5912..60b4b3c3e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2025-07-22  G. Branden Robinson <[email protected]>
+
+       * tmac/an.tmac ([initialization]):
+       * tmac/doc.tmac ([initialization]): Parallelize loading of
+       site-local customization.  Use `msoquiet`, but only if it's
+       available--that way we avoid a hard dependency on groff 1.23 or
+       later.  If not, use `mso` as groff 1.22.4 and earlier did.
+
 2025-07-21  G. Branden Robinson <[email protected]>
 
        * tmac/mdoc/doc-common (Sh, Ss): Fix missing brace escape
diff --git a/tmac/an.tmac b/tmac/an.tmac
index 9208896da..e3f1783e0 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -1466,8 +1466,9 @@ contains unsupported escape sequence
 .\" Load man macro extensions.
 .mso an-ext.tmac
 .
-.\" Load site modifications.
-.msoquiet man.local
+.\" Load site-local configuration.
+.ie d msoquiet .msoquiet man.local
+.el            .mso      man.local
 .
 .\" Set each rendering parameter only if its -[dr] option or man.local
 .\" did not.
diff --git a/tmac/doc.tmac b/tmac/doc.tmac
index 2aa974511..d2b934861 100644
--- a/tmac/doc.tmac
+++ b/tmac/doc.tmac
@@ -7210,8 +7210,9 @@ should this have been '.Em ...'?
 .  char \- \N'45'
 .
 .
-.\" load local modifications
-.mso mdoc.local
+.\" Load site-local configuration.
+.ie d msoquiet .msoquiet mdoc.local
+.el            .mso      mdoc.local
 .
 .cp \n[*groff_doc_tmac_C]
 .do rr *groff_doc_tmac_C

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to