diff options
author | Kenichi Handa <handa@m17n.org> | 2000-10-11 23:59:16 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 2000-10-11 23:59:16 +0000 |
commit | a1c5fe609cac12209f87f4c5bd60ea4580d73ce5 (patch) | |
tree | 9d38da3146ddf8a940c87637a8f6fac38b160cd2 /lisp/man.el | |
parent | 57bb5c37d7810eddecc1b70d92fa415440696207 (diff) | |
download | emacs-a1c5fe609cac12209f87f4c5bd60ea4580d73ce5.tar.gz |
(Man-getpage-in-background): Fix previous change.
Decode the process output only when we are in multibyte mode.
Diffstat (limited to 'lisp/man.el')
-rw-r--r-- | lisp/man.el | 6 |
1 files changed, 4 insertions, 2 deletions
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. |