(help-with-tutorial): Use property `tutorial-coding-system' of
authortomo <tomo>
Tue, 29 Jun 1999 05:57:09 +0000 (05:57 +0000)
committertomo <tomo>
Tue, 29 Jun 1999 05:57:09 +0000 (05:57 +0000)
language-info as a coding-system to read tutorial file.

lisp/mule/mule-help.el

index a5442db..dd51dc7 100644 (file)
@@ -57,7 +57,9 @@ With arg, you are asked to select which language."
       (setq buffer-file-name file)
       (setq default-directory (expand-file-name "~/"))
       (setq buffer-auto-save-file-name nil)
-      (insert-file-contents (locate-data-file filename))
+      (let ((coding-system-for-read
+            (get-language-info lang 'tutorial-coding-system)))
+       (insert-file-contents (locate-data-file filename)))
       (goto-char (point-min))
       ;; The 'didactic' blank lines: Possibly insert blank lines
       ;; around <<nya nya nya>>, and change << >> to [ ].