From: Kenichi Handa Date: Wed, 11 Oct 2000 23:59:16 +0000 (+0000) Subject: (Man-getpage-in-background): Fix previous change. X-Git-Tag: emacs-pretest-21.0.90~954 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a1c5fe609cac12209f87f4c5bd60ea4580d73ce5;p=emacs.git (Man-getpage-in-background): Fix previous change. Decode the process output only when we are in multibyte mode. --- diff --git a/lisp/man.el b/lisp/man.el index dd53df7bd63..2c92fba1822 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -592,8 +592,10 @@ SECTION SUBJECT when prompted for a manual entry." ;; But don't prevent decoding of the outside. (coding-system-for-write 'raw-text-unix) ;; We must decode the output by a coding system that the - ;; systen locale suggests. - (coding-system-for-read locale-coding-system) + ;; systen locale suggests in multibyte mode. + (coding-system-for-read + (if default-enable-multibyte-characters + locale-coding-system 'raw-text-unix)) ;; Avoid possible error by using a directory that always exists. (default-directory "/")) ;; Prevent any attempt to use display terminal fanciness.