]> git.eshelyaron.com Git - emacs.git/commitdiff
(set-display-table-and-terminal-coding-system): If the coding
authorKenichi Handa <handa@m17n.org>
Wed, 7 Dec 2005 07:28:37 +0000 (07:28 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 7 Dec 2005 07:28:37 +0000 (07:28 +0000)
system specified in `unibyte-display' property is different from
the arg coding-system, don't setup standard-display-table.

lisp/ChangeLog
lisp/international/mule-cmds.el

index 9061ec433a440d0d12a8b26398659c155b3b0da8..c62577f4e40aef5283ba5a147cda08f1349d0dc3 100644 (file)
@@ -1,3 +1,10 @@
+2005-12-07  Kenichi Handa  <handa@m17n.org>
+
+       * international/mule-cmds.el
+       (set-display-table-and-terminal-coding-system): If the coding
+       system specified in `unibyte-display' property is different from
+       the arg coding-system, don't setup standard-display-table.
+
 2005-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * emacs-lisp/edebug.el (edebug-skip-whitespace): read1:lread.c says
index 57791409fdd90200cffdc6d9c02ad7fa6e31efaa..7756aa58ccd8fa869af4c5a8ae344e07e0b9e8e3 100644 (file)
@@ -1798,7 +1798,9 @@ The default status is as follows:
 (defun set-display-table-and-terminal-coding-system (language-name &optional coding-system)
   "Set up the display table and terminal coding system for LANGUAGE-NAME."
   (let ((coding (get-language-info language-name 'unibyte-display)))
-    (if coding
+    (if (and coding
+            (or (not coding-system)
+                (coding-system-equal coding coding-system)))
        (standard-display-european-internal)
       ;; The following 2 lines undo the 8-bit display that we set up
       ;; in standard-display-european-internal, which see.  This is in