]> git.eshelyaron.com Git - emacs.git/commitdiff
Add a comment in set-display-table-and-terminal-coding-system
authorEli Zaretskii <eliz@gnu.org>
Thu, 19 Jun 2003 16:12:21 +0000 (16:12 +0000)
committerEli Zaretskii <eliz@gnu.org>
Thu, 19 Jun 2003 16:12:21 +0000 (16:12 +0000)
explaining why we futz with display tables.

lisp/international/mule-cmds.el

index e9b769d9c126d7ab2b32a6df458a559182d2d4fd..43f0334a5622f79b7ea24a5fb539bffd2d028bff 100644 (file)
@@ -1688,6 +1688,11 @@ The default status is as follows:
   (let ((coding (get-language-info language-name 'unibyte-display)))
     (if coding
        (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
+      ;; case the user has used standard-display-european earlier in
+      ;; this session.  (The MS-DOS port doesn't use that setup, so it
+      ;; doesn't need to undo it.)
       (standard-display-default (if (eq window-system 'pc) 128 160) 255)
       (aset standard-display-table 146 nil))
     (or (eq window-system 'pc)