diff options
| author | Kenichi Handa | 2003-12-24 02:08:54 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2003-12-24 02:08:54 +0000 |
| commit | 9a0ed120587d90a16cea694ee25d1a962dabc0a1 (patch) | |
| tree | fd513212a484f957daae29a4d0a4ad0e0126637c | |
| parent | 220898759c7012ac9cbfe54ee505110926249014 (diff) | |
| download | emacs-9a0ed120587d90a16cea694ee25d1a962dabc0a1.tar.gz emacs-9a0ed120587d90a16cea694ee25d1a962dabc0a1.zip | |
(set-default-coding-systems): Call
ucs-set-table-for-input for all buffers that don't have local
value of buffer-file-coding-system.
| -rw-r--r-- | lisp/international/mule-cmds.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index a9ed8299ad9..5e957d6b8ab 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el | |||
| @@ -321,6 +321,11 @@ This also sets the following values: | |||
| 321 | o default value for the command `set-keyboard-coding-system'." | 321 | o default value for the command `set-keyboard-coding-system'." |
| 322 | (check-coding-system coding-system) | 322 | (check-coding-system coding-system) |
| 323 | (setq-default buffer-file-coding-system coding-system) | 323 | (setq-default buffer-file-coding-system coding-system) |
| 324 | (if (fboundp 'ucs-set-table-for-input) | ||
| 325 | (dolist (buffer (buffer-list)) | ||
| 326 | (or (local-variable-p 'buffer-file-coding-system buffer) | ||
| 327 | (ucs-set-table-for-input buffer)))) | ||
| 328 | |||
| 324 | (if default-enable-multibyte-characters | 329 | (if default-enable-multibyte-characters |
| 325 | (setq default-file-name-coding-system coding-system)) | 330 | (setq default-file-name-coding-system coding-system)) |
| 326 | ;; If coding-system is nil, honor that on MS-DOS as well, so | 331 | ;; If coding-system is nil, honor that on MS-DOS as well, so |