Commit 06b4a81b authored by YAMAMOTO Mitsuharu's avatar YAMAMOTO Mitsuharu
Browse files

(standard-display-g1, standard-display-graphic): Refuse to use string

glyphs also on Mac.
(standard-display-european): Don't set terminal coding system also
on Mac.
parent 1505621c
......@@ -145,7 +145,7 @@ Valid symbols are `truncation', `wrap', `escape', `control',
"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 (memq window-system '(x w32))
(if (memq window-system '(x w32 mac))
(error "Cannot use string glyphs in a windowing system"))
(or standard-display-table
(setq standard-display-table (make-display-table)))
......@@ -157,7 +157,7 @@ it is meaningless for an X frame."
"Display character C as character GC in graphics character set.
This function assumes VT100-compatible escapes; it is meaningless for an
X frame."
(if (memq window-system '(x w32))
(if (memq window-system '(x w32 mac))
(error "Cannot use string glyphs in a windowing system"))
(or standard-display-table
(setq standard-display-table (make-display-table)))
......@@ -217,7 +217,7 @@ for users who call this function in `.emacs'."
(equal (aref standard-display-table 161) [161])))
(progn
(standard-display-default 160 255)
(unless (or (memq window-system '(x w32)))
(unless (or (memq window-system '(x w32 mac)))
(and (terminal-coding-system)
(set-terminal-coding-system nil))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment