diff options
author | G. Branden Robinson <g.branden.robinson@gmail.com> | 2020-04-19 15:24:24 +1000 |
---|---|---|
committer | G. Branden Robinson <g.branden.robinson@gmail.com> | 2020-04-19 15:24:24 +1000 |
commit | 1474eebe1f83c439dd6d422a311c1c39417fac40 (patch) | |
tree | cdb9974245c5b37b99914ccc2b69228117ebcb68 /tmac/cp1047.tmac | |
parent | d4c4f4786d4652a96b394963f9e5e9b15d27c6f0 (diff) | |
download | groff-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/cp1047.tmac')
-rw-r--r-- | tmac/cp1047.tmac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tmac/cp1047.tmac b/tmac/cp1047.tmac index 13b674a9d..4d3afc6a8 100644 --- a/tmac/cp1047.tmac +++ b/tmac/cp1047.tmac @@ -1,6 +1,6 @@ .\" cp1047.tmac .\" -.nr _C \n(.C +.do nr *groff_cp1047_tmac_C \n[.cp] .cp 0 .trin \[char66]\[^a] .trin \[char67]\[:a] @@ -98,7 +98,7 @@ .trin \[char252]\[:U] .trin \[char253]\[`U] .trin \[char254]\['U] -.cp \n(_C +.cp \n[*groff_cp1047_tmac_C] . .\" Local Variables: .\" mode: nroff |