changeset 29201:c8bfb0b55a91

(standard-display-g1, standard-display-graphic): Only refuse to use string glyphs on X and MS-Windows.
author Eli Zaretskii <eliz@gnu.org>
date Thu, 25 May 2000 16:54:17 +0000
parents 28c61db89225
children a1854f8baf0c
files lisp/disp-table.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/disp-table.el	Thu May 25 16:53:22 2000 +0000
+++ b/lisp/disp-table.el	Thu May 25 16:54:17 2000 +0000
@@ -139,7 +139,7 @@
   "Display character C as character SC in the g1 character set.
 This function assumes that your terminal uses the SO/SI characters;
 it is meaningless for an X frame."
-  (if window-system
+  (if (memq window-system '(x w32))
       (error "Cannot use string glyphs in a windowing system"))
   (aset standard-display-table c
 	(vector (create-glyph (concat "\016" (char-to-string sc) "\017")))))
@@ -149,7 +149,7 @@
   "Display character C as character GC in graphics character set.
 This function assumes VT100-compatible escapes; it is meaningless for an
 X frame."
-  (if window-system
+  (if (memq window-system '(x w32))
       (error "Cannot use string glyphs in a windowing system"))
   (aset standard-display-table c
 	(vector (create-glyph (concat "\e(0" (char-to-string gc) "\e(B")))))