changeset 24845:87e4cdfac07b

(IT-display-table-setup): Do not remap \222 to the ASCII apostrophe, as most DOS codepages have some other glyph there.
author Eli Zaretskii <eliz@gnu.org>
date Mon, 14 Jun 1999 15:10:14 +0000
parents ab5f0d0f5e9a
children f838455991b6
files lisp/term/internal.el
diffstat 1 files changed, 3 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/term/internal.el	Mon Jun 14 07:16:21 1999 +0000
+++ b/lisp/term/internal.el	Mon Jun 14 15:10:14 1999 +0000
@@ -204,8 +204,8 @@
 installed codepage.")
 
 (defun IT-display-table-setup (codepage &optional table)
-  "Set up display table TABLE for a DOS terminal which supports a
-glyphs built into the current codepage CODEPAGE.
+  "Set up display table TABLE for a DOS terminal which supports
+glyphs built into the codepage CODEPAGE.
 
 If TABLE is nil or omitted, `standard-display-table' is used."
   (let* ((surrogates IT-character-translations)
@@ -243,11 +243,7 @@
 		       (if (> (length glyph) 1) (concat "{" glyph "}")
 			 glyph)))))
 	  (setq i (1+ i))))
-      (setq surrogates (cdr surrogates)))
-    ;; Most Windows programs send out apostrophe's as \222.  Most DOS
-    ;; fonts contain a different character at that position.  Map it
-    ;; to the ASCII apostrophe.
-    (aset standard-display-table 146 [39])))
+      (setq surrogates (cdr surrogates)))))
 
 (defun dos-cpNNN-setup (codepage)
   "Set up the MULE environment using the DOS codepage CODEPAGE.