mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 18:37:33 +00:00
(Man-getpage-in-background): Fix previous change.
Decode the process output only when we are in multibyte mode.
This commit is contained in:
parent
57bb5c37d7
commit
a1c5fe609c
1 changed files with 4 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue