gbranden pushed a commit to branch master
in repository groff.

commit fbfb75db71f6ed9302b321ec4a5efb8ce9b50dd7
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Dec 17 15:28:50 2025 -0600

    tmac/ps.tmac: Stop cluttering macro name space.
    
    * tmac/ps.tmac: Delete internal macros after we're done using them.
      They are not documented and therefore not supported for use by
      documents.  They consequently should not litter the macro name space
      after formatter startup.
---
 ChangeLog    | 7 +++++++
 tmac/ps.tmac | 2 ++
 2 files changed, 9 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 58d7a0ff9..a520c2c45 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2025-12-17  G. Branden Robinson <[email protected]>
+
+       * tmac/ps.tmac: Delete internal macros after we're done using
+       them.  They are not documented and therefore not supported for
+       use by documents.  They consequently should not litter the macro
+       name space after formatter startup.
+
 2025-12-15  G. Branden Robinson <[email protected]>
 
        * src/roff/groff/tests/safer-mode-works.sh: Unit-test "locking"
diff --git a/tmac/ps.tmac b/tmac/ps.tmac
index f77a827ff..0f44ba4a4 100644
--- a/tmac/ps.tmac
+++ b/tmac/ps.tmac
@@ -123,6 +123,8 @@
 .ps-frac-mono CBI 5 8
 .ps-frac-mono CBI 7 8
 .
+.rm ps-achar ps-frac ps-frac-mono
+.
 .\" pic tests this register to see whether it should use \X'ps:...'
 .nr 0p 1
 .

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

Reply via email to