From e4b486696e8fa6b1cd26644304fbdfa259b23ddb Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Mon, 7 May 2001 16:04:49 +0000 Subject: 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 --- gnu/usr.bin/groff/tmac/mdoc.local | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/usr.bin/groff/tmac/mdoc.local b/gnu/usr.bin/groff/tmac/mdoc.local index 7a5221fb0750..34390530670b 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 +.\} -- cgit v1.3