diff options
| author | Kenichi Handa | 2000-10-11 23:59:16 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2000-10-11 23:59:16 +0000 |
| commit | a1c5fe609cac12209f87f4c5bd60ea4580d73ce5 (patch) | |
| tree | 9d38da3146ddf8a940c87637a8f6fac38b160cd2 | |
| parent | 57bb5c37d7810eddecc1b70d92fa415440696207 (diff) | |
| download | emacs-a1c5fe609cac12209f87f4c5bd60ea4580d73ce5.tar.gz emacs-a1c5fe609cac12209f87f4c5bd60ea4580d73ce5.zip | |
(Man-getpage-in-background): Fix previous change.
Decode the process output only when we are in multibyte mode.
| -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." | |||
| 592 | ;; But don't prevent decoding of the outside. | 592 | ;; But don't prevent decoding of the outside. |
| 593 | (coding-system-for-write 'raw-text-unix) | 593 | (coding-system-for-write 'raw-text-unix) |
| 594 | ;; We must decode the output by a coding system that the | 594 | ;; We must decode the output by a coding system that the |
| 595 | ;; systen locale suggests. | 595 | ;; systen locale suggests in multibyte mode. |
| 596 | (coding-system-for-read locale-coding-system) | 596 | (coding-system-for-read |
| 597 | (if default-enable-multibyte-characters | ||
| 598 | locale-coding-system 'raw-text-unix)) | ||
| 597 | ;; Avoid possible error by using a directory that always exists. | 599 | ;; Avoid possible error by using a directory that always exists. |
| 598 | (default-directory "/")) | 600 | (default-directory "/")) |
| 599 | ;; Prevent any attempt to use display terminal fanciness. | 601 | ;; Prevent any attempt to use display terminal fanciness. |