]> git.eshelyaron.com Git - emacs.git/commitdiff
(set-default-coding-systems): Call
authorKenichi Handa <handa@m17n.org>
Wed, 24 Dec 2003 02:08:54 +0000 (02:08 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 24 Dec 2003 02:08:54 +0000 (02:08 +0000)
ucs-set-table-for-input for all buffers that don't have local
value of buffer-file-coding-system.

lisp/international/mule-cmds.el

index a9ed8299ad9cc815e78c70bd7288419135d3f906..5e957d6b8ab22e39ef7cddcc1c589496aaa7ea40 100644 (file)
@@ -321,6 +321,11 @@ This also sets the following values:
   o default value for the command `set-keyboard-coding-system'."
   (check-coding-system coding-system)
   (setq-default buffer-file-coding-system coding-system)
+  (if (fboundp 'ucs-set-table-for-input)
+      (dolist (buffer (buffer-list))
+       (or (local-variable-p 'buffer-file-coding-system buffer)
+           (ucs-set-table-for-input buffer))))
+
   (if default-enable-multibyte-characters
       (setq default-file-name-coding-system coding-system))
   ;; If coding-system is nil, honor that on MS-DOS as well, so