From 58c817539d68b811a06124bd47cdfc7bfea7cad2 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 8 May 1998 01:53:55 +0000 Subject: [PATCH] (standard-display-european): Don't call set-terminal-coding-system when window-system is w32. --- lisp/disp-table.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/disp-table.el b/lisp/disp-table.el index 849a6a92e8a..1fe43c43d11 100644 --- a/lisp/disp-table.el +++ b/lisp/disp-table.el @@ -203,7 +203,7 @@ probably want to edit European characters in single-byte mode." (equal (aref standard-display-table 161) [161]))) (progn (standard-display-default 160 255) - (unless (eq window-system 'x) + (unless (memq window-system '(x w32)) (set-terminal-coding-system nil))) ;; If the user does this explicitly, ;; turn off multibyte chars for more compatibility. @@ -218,7 +218,7 @@ probably want to edit European characters in single-byte mode." (unless auto (if (equal current-language-environment "English") (set-language-environment "latin-1"))) - (unless (or noninteractive (eq window-system 'x)) + (unless (or noninteractive (memq window-system '(x w32))) ;; Send those codes literally to a non-X terminal. ;; If AUTO is nil, we are using single-byte characters, ;; so it doesn't matter which one we use. -- 2.39.2