summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-05-07 16:04:49 +0000
committerru <ru@FreeBSD.org>2001-05-07 16:04:49 +0000
commit42ebd3a4f42cd91f4e2bdf8170403f08418352b4 (patch)
tree504dee7744e6ebf860db74b213ac26d6bc8d4073 /gnu/usr.bin
parent64335fb3fdcac4e4210023943194b414b4d76a0d (diff)
downloadFreeBSD-src-42ebd3a4f42cd91f4e2bdf8170403f08418352b4.zip
FreeBSD-src-42ebd3a4f42cd91f4e2bdf8170403f08418352b4.tar.gz
Only load KOI8-R-specific bits if document language is set
via the \*[lang] register, not if just device is `koi8-r'. Reviewed by: ache
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/groff/tmac/mdoc.local6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/usr.bin/groff/tmac/mdoc.local b/gnu/usr.bin/groff/tmac/mdoc.local
index 7a5221f..3439053 100644
--- a/gnu/usr.bin/groff/tmac/mdoc.local
+++ b/gnu/usr.bin/groff/tmac/mdoc.local
@@ -59,5 +59,7 @@
.ds doc-operating-system FreeBSD\~5.0
.
.
-.\" KOI8-R locale support
-.if "\*[.T]"koi8-r" .mso mdoc/koi8-r
+.\" Locale support
+.if d doc-lang \{\
+. if "\*[doc-lang]"ru.KOI8-R" .mso mdoc/koi8-r
+.\}
OpenPOWER on IntegriCloud