# HG changeset patch # User Kenichi Handa # Date 971308756 0 # Node ID b68d86c19284cc29bcd1a57889ebac4760eeadab # Parent 11b8c07e5fed33b0021bb7b8c61eb368a7768b58 (Man-getpage-in-background): Fix previous change. Decode the process output only when we are in multibyte mode. diff -r 11b8c07e5fed -r b68d86c19284 lisp/man.el --- a/lisp/man.el Wed Oct 11 23:56:30 2000 +0000 +++ b/lisp/man.el Wed Oct 11 23:59:16 2000 +0000 @@ -592,8 +592,10 @@ ;; 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.