Mercurial > hg > xemacs-beta
diff lisp/mule/chinese-hooks.el @ 120:cca96a509cfe r20-1b12
Import from CVS: tag r20-1b12
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:25:29 +0200 |
parents | fe104dbd9147 |
children | 6608ceec7cf8 |
line wrap: on
line diff
--- a/lisp/mule/chinese-hooks.el Mon Aug 13 09:24:19 2007 +0200 +++ b/lisp/mule/chinese-hooks.el Mon Aug 13 09:25:29 2007 +0200 @@ -182,10 +182,10 @@ (let ((proc (get-buffer-process (current-buffer)))) (set-process-input-coding-system proc 'euc-china) (set-process-output-coding-system proc 'euc-china)))) - (set-buffer-file-coding-system-for-read 'autodetect) + (set-buffer-file-coding-system-for-read 'automatic-conversion) (set-default-buffer-file-coding-system 'euc-china) - (setq keyboard-coding-system 'euc-china) - (setq terminal-coding-system 'euc-china) + (setq keyboard-coding-system 'euc-china) + (setq terminal-coding-system 'euc-china) (when (eq 'x (device-type (selected-device))) (x-use-halfwidth-roman-font 'chinese-gb2312 "gb1988")))) ;; (when (featurep 'egg)