summaryrefslogtreecommitdiff
path: root/tmac/latin5.tmac
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2020-04-19 15:24:24 +1000
committerG. Branden Robinson <g.branden.robinson@gmail.com>2020-04-19 15:24:24 +1000
commit1474eebe1f83c439dd6d422a311c1c39417fac40 (patch)
treecdb9974245c5b37b99914ccc2b69228117ebcb68 /tmac/latin5.tmac
parentd4c4f4786d4652a96b394963f9e5e9b15d27c6f0 (diff)
downloadgroff-git-1474eebe1f83c439dd6d422a311c1c39417fac40.tar.gz
**/*.{man,tmac}: Save compatibility mode robustly.
Use new \n[.cp] register to save compatibilty mode. Use register names based on the filename (at the source maintenance level) to avoid clobbering other files' saved compatibility modes. tmac/html.tmac: Eliminate reference to saved-compatibility register by moving its test inside the block where compatibility mode is off. This is the only part of this changeset that was not automated.
Diffstat (limited to 'tmac/latin5.tmac')
-rw-r--r--tmac/latin5.tmac4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmac/latin5.tmac b/tmac/latin5.tmac
index fc495b2e1..3313c5438 100644
--- a/tmac/latin5.tmac
+++ b/tmac/latin5.tmac
@@ -2,7 +2,7 @@
.\"
.\" latin5.tmac
.\"
-.nr _C \n(.C
+.do nr *groff_latin5_tmac_C \n[.cp]
.cp 0
.\" 0xA1
.trin \[char161]\[r!]
@@ -106,7 +106,7 @@
.trin \[char253]\[.i]
.trin \[char254]\[s ,]
.trin \[char255]\[:y]
-.cp \n[_C]
+.cp \n[*groff_latin5_tmac_C]
.
.\" Local Variables:
.\" mode: nroff