Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
119:d101af7320b8 | 120:cca96a509cfe |
---|---|
180 (add-hook 'comint-exec-hook | 180 (add-hook 'comint-exec-hook |
181 (lambda () | 181 (lambda () |
182 (let ((proc (get-buffer-process (current-buffer)))) | 182 (let ((proc (get-buffer-process (current-buffer)))) |
183 (set-process-input-coding-system proc 'euc-china) | 183 (set-process-input-coding-system proc 'euc-china) |
184 (set-process-output-coding-system proc 'euc-china)))) | 184 (set-process-output-coding-system proc 'euc-china)))) |
185 (set-buffer-file-coding-system-for-read 'autodetect) | 185 (set-buffer-file-coding-system-for-read 'automatic-conversion) |
186 (set-default-buffer-file-coding-system 'euc-china) | 186 (set-default-buffer-file-coding-system 'euc-china) |
187 (setq keyboard-coding-system 'euc-china) | 187 (setq keyboard-coding-system 'euc-china) |
188 (setq terminal-coding-system 'euc-china) | 188 (setq terminal-coding-system 'euc-china) |
189 (when (eq 'x (device-type (selected-device))) | 189 (when (eq 'x (device-type (selected-device))) |
190 (x-use-halfwidth-roman-font 'chinese-gb2312 "gb1988")))) | 190 (x-use-halfwidth-roman-font 'chinese-gb2312 "gb1988")))) |
191 ;; (when (featurep 'egg) | 191 ;; (when (featurep 'egg) |
192 ;; (setq-default its:*current-map* (its:get-mode-map "PinYin"))) | 192 ;; (setq-default its:*current-map* (its:get-mode-map "PinYin"))) |
193 ;; (setq-default quail-current-package (assoc "py" quail-package-alist)))) | 193 ;; (setq-default quail-current-package (assoc "py" quail-package-alist)))) |