diff options
| author | Kenichi Handa | 2000-08-24 02:10:05 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2000-08-24 02:10:05 +0000 |
| commit | 0c47a7c83d6d0ad14e7b2b01e2ae4ec878e21d22 (patch) | |
| tree | 32a63f3ea3f0c8cef8b19ca146a12a92056bd0e8 | |
| parent | c543db811fcd3fd77a1bf50e070644dcb0756d20 (diff) | |
| download | emacs-0c47a7c83d6d0ad14e7b2b01e2ae4ec878e21d22.tar.gz emacs-0c47a7c83d6d0ad14e7b2b01e2ae4ec878e21d22.zip | |
(reset-language-environment): Set default-process-coding-system to
'(undecided . iso-latin-1), which makes process I/O almost consistent
with file I/O. Call this function when mule-cmds.el[c] is loaded.
| -rw-r--r-- | lisp/international/mule-cmds.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index 334860b018e..68d456c1f09 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el | |||
| @@ -1293,6 +1293,7 @@ The default status is as follows: | |||
| 1293 | 1293 | ||
| 1294 | (set-default-coding-systems nil) | 1294 | (set-default-coding-systems nil) |
| 1295 | (setq default-sendmail-coding-system 'iso-latin-1) | 1295 | (setq default-sendmail-coding-system 'iso-latin-1) |
| 1296 | (setq default-process-coding-system '(undecided . iso-latin-1)) | ||
| 1296 | 1297 | ||
| 1297 | ;; Don't alter the terminal and keyboard coding systems here. | 1298 | ;; Don't alter the terminal and keyboard coding systems here. |
| 1298 | ;; The terminal still supports the same coding system | 1299 | ;; The terminal still supports the same coding system |
| @@ -1303,6 +1304,8 @@ The default status is as follows: | |||
| 1303 | (setq nonascii-translation-table nil | 1304 | (setq nonascii-translation-table nil |
| 1304 | nonascii-insert-offset 0)) | 1305 | nonascii-insert-offset 0)) |
| 1305 | 1306 | ||
| 1307 | (reset-language-environment) | ||
| 1308 | |||
| 1306 | (defun set-display-table-and-terminal-coding-system (language-name) | 1309 | (defun set-display-table-and-terminal-coding-system (language-name) |
| 1307 | "Set up the display table and terminal coding system for LANGUAGE-NAME." | 1310 | "Set up the display table and terminal coding system for LANGUAGE-NAME." |
| 1308 | (let ((coding (get-language-info language-name 'unibyte-display))) | 1311 | (let ((coding (get-language-info language-name 'unibyte-display))) |