gbranden pushed a commit to branch master
in repository groff.
commit 85c0f0b36408b0ab79ba314cd9f49c89c5868b2f
Author: G. Branden Robinson <[email protected]>
AuthorDate: Thu Jun 11 12:03:26 2026 -0500
tmac/an.tmac: Trivially refactor. (1/2)
* tmac/an.tmac: Rename macro.
(an-deprecation-warn): Rename this...
(an*deprecation-warn): ...to this.
(AT, UC, DT, PD, SB, OP): Update interpolation sites.
---
ChangeLog | 7 +++++++
tmac/an.tmac | 14 +++++++-------
2 files changed, 14 insertions(+), 7 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index fb2bbed78..5e44b19b8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2026-06-11 G. Branden Robinson <[email protected]>
+
+ * tmac/an.tmac: Trivially refactor. Rename macro.
+ (an-deprecation-warn): Rename this...
+ (an*deprecation-warn): ...to this.
+ (AT, UC, DT, PD, SB, OP): Update interpolation sites.
+
2026-06-11 G. Branden Robinson <[email protected]>
[grotty]: Slightly refactor.
diff --git a/tmac/an.tmac b/tmac/an.tmac
index 91c08f947..7bdb7ab2b 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -73,7 +73,7 @@
. tm \*[an]:\\n[.F]:\\n[.c]: style: \\$*
..
.
-.de an-deprecation-warn
+.de an*deprecation-warn
. if (\\n[CHECKSTYLE] > 1) \
. an*style-warn use of deprecated macro: .\\$0
..
@@ -457,7 +457,7 @@
.\" Designate an AT&T Unix man page.
.\" .AT [system-id[ release-id]]
.de1 AT
-. nop \\*[an-deprecation-warn]\\
+. nop \\*[an*deprecation-warn]\\
. ds an*extra2 7th Edition\"
. if '\\$1'3' .ds an*extra2 7th Edition\"
. if '\\$1'4' .ds an*extra2 System III\"
@@ -473,7 +473,7 @@
.\" Designate a BSD Unix man page.
.\" .UC [system-id]
.de1 UC
-. nop \\*[an-deprecation-warn]\\
+. nop \\*[an*deprecation-warn]\\
. ds an*extra2 3rd Berkeley Distribution\"
. if '\\$1'3' .ds an*extra2 3rd Berkeley Distribution\"
. if '\\$1'4' .ds an*extra2 4th Berkeley Distribution\"
@@ -487,14 +487,14 @@
.
.\" Restore tab stops to defaults.
.de1 DT
-. nop \\*[an-deprecation-warn]\\
+. nop \\*[an*deprecation-warn]\\
. an*reset-tab-stops
..
.
.\" Restore inter-paragraph spacing to default (or set it to argument).
.\" .PD [distance]
.de1 PD
-. nop \\*[an-deprecation-warn]\\
+. nop \\*[an*deprecation-warn]\\
. nop \\*[an*reset-paragraph-spacing]\\
..
.
@@ -885,7 +885,7 @@ contains unsupported escape sequence
.\"
.\" .SB [text]
.de1 SB
-. nop \\*[an-deprecation-warn]\\
+. nop \\*[an*deprecation-warn]\\
. it 1 an*input-trap
. ps -1
. ft B
@@ -1160,7 +1160,7 @@ contains unsupported escape sequence
.\"
.\" .OP flag [option-parameter]
.de1 OP
-. nop \\*[an-deprecation-warn]\\
+. nop \\*[an*deprecation-warn]\\
. if ((\\n[.$] < 1) : (\\n[.$] > 2)) \
. an*style-warn .\\$0 expects 1 or 2 arguments, got \\n[.$]
. ie (\\n[.$] > 1) \
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit