changeset 51800:e5ae6af23b7b

(set-display-table-and-terminal-coding-system): Use explicit loop instead of calling standard-display-default.
author Richard M. Stallman <rms@gnu.org>
date Mon, 07 Jul 2003 20:56:24 +0000
parents 2a6ed9e210b2
children 8da87623aaa3
files lisp/international/mule-cmds.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule-cmds.el	Mon Jul 07 20:55:38 2003 +0000
+++ b/lisp/international/mule-cmds.el	Mon Jul 07 20:56:24 2003 +0000
@@ -1689,7 +1689,8 @@
       ;; 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)
+      (dotimes (i 128)
+	(aset standard-display-table (+ i 128) nil))
       (aset standard-display-table 146 nil))
     (or (eq window-system 'pc)
       (set-terminal-coding-system coding))))