src/Pure/proof_general.ML
changeset 14992 a16bc5abad45
parent 14973 0613f64653b7
child 15010 72fbe711e414
--- a/src/Pure/proof_general.ML	Mon Jun 21 16:49:58 2004 +0200
+++ b/src/Pure/proof_general.ML	Tue Jun 22 09:51:23 2004 +0200
@@ -48,10 +48,11 @@
   | xsym_output s = if Symbol.is_raw s then Symbol.decode_raw s else s;
 
 fun xsymbols_output s =
-  if xsymbolsN mem_string ! print_mode andalso exists_string (equal "\\") s then
+  if Symbol.chars_only s then Symbol.default_output s
+  else if Output.has_mode xsymbolsN then
     let val syms = Symbol.explode s
     in (implode (map xsym_output syms), real (Symbol.length syms)) end
-  else Symbol.default_output s;
+  else Symbol.symbol_output s;
 
 fun pgml_output (s, len) =
   if pgml () then (XML.text s, len)