summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2023-01-06 13:51:57 -0600
committerG. Branden Robinson <g.branden.robinson@gmail.com>2023-01-06 13:59:33 -0600
commit0fd52043f3066b39266fbdacd2fa36df61fe2a18 (patch)
treedca0101c9cd2f39bf943f9d2f9d81948fd10ee20 /contrib
parent3724e9c978668a049eb8f32e7549187cca8e024b (diff)
downloadgroff-git-0fd52043f3066b39266fbdacd2fa36df61fe2a18.tar.gz
contrib/mm/m.tmac: Add code comments.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/mm/m.tmac10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac
index c38ba983b..b849f750c 100644
--- a/contrib/mm/m.tmac
+++ b/contrib/mm/m.tmac
@@ -379,6 +379,7 @@ Index array!index
.\"---------------------------------------------
.\" ####### module init ######
.\" reset all things
+.\" XXX: Resets .cu and .ul but _not_ .ce or .rj.
.de init@reset
.ie \\n[misc@adjust] 'ad
.el 'na
@@ -508,12 +509,21 @@ in=\\n[.i] fi=\\n[.u] .d=\\n[.d] nl=\\n[nl] pg=\\n[%]
.nr line*lp\\n[.z] \\n[.d]
..
.\" ######## module misc ###############
+.\" XXX: This register value is meaningless.
+.\" .ad b
+.\" .nr misc@adjust \n[.j]
+.\" might be better...
.nr misc@adjust 14
.de SA
.if \\n[.$] \{\
. if \\$1-1 .@error "SA: bad arg: \\$1"
+.\" XXX: ...then...
+.\" .ad l
+.\" .nr misc@adjust \\n[.j]
. nr misc@adjust 0\\$1
.\}
+.\" XXX: ...and finally an unconditional.
+.\" .ad \\n[.j]
.ie \\n[misc@adjust] 'ad
.el 'na
..