aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2000-08-21 01:39:45 +0000
committerKenichi Handa2000-08-21 01:39:45 +0000
commit86293583814270b17549bb203a3d0d6925b3ccfc (patch)
tree2312807106c9070440b5eca34b7828e7372d5a74
parent6922b0180289938b12aa27769db88f93d5278c0a (diff)
downloademacs-86293583814270b17549bb203a3d0d6925b3ccfc.tar.gz
emacs-86293583814270b17549bb203a3d0d6925b3ccfc.zip
(Man-getpage-in-background): Decode the process output by the system
locale coding system.
-rw-r--r--lisp/man.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/man.el b/lisp/man.el
index 9ed269a23b5..783b155c520 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -596,6 +596,9 @@ SECTION SUBJECT when prompted for a manual entry."
596 ;; The following is so Awk script gets \n intact 596 ;; The following is so Awk script gets \n intact
597 ;; But don't prevent decoding of the outside. 597 ;; But don't prevent decoding of the outside.
598 (coding-system-for-write 'raw-text-unix) 598 (coding-system-for-write 'raw-text-unix)
599 ;; We must decode the output by a coding system that the
600 ;; systen locale suggests.
601 (coding-system-for-read locale-coding-system)
599 ;; Avoid possible error by using a directory that always exists. 602 ;; Avoid possible error by using a directory that always exists.
600 (default-directory "/")) 603 (default-directory "/"))
601 ;; Prevent any attempt to use display terminal fanciness. 604 ;; Prevent any attempt to use display terminal fanciness.