From 1474eebe1f83c439dd6d422a311c1c39417fac40 Mon Sep 17 00:00:00 2001 From: "G. Branden Robinson" Date: Sun, 19 Apr 2020 15:24:24 +1000 Subject: **/*.{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. --- tmac/latin5.tmac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tmac/latin5.tmac') 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 -- cgit v1.2.1