Skip to content

Commit 4fc3781

Browse files
authored
Work around a bug giving Set:setraw error (#82)
1 parent 8bffb81 commit 4fc3781

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

mathicsscript/autoload/settings.m

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
"
1616

1717
Settings`$ShowFullFormInput = False
18+
19+
(* This is a workarund for a bug in mathicsscript of mathics-core.
20+
Remove this and we get error:
21+
Set::setraw: Cannot assign to raw object colorful. *)
22+
Settings`$PygmentsStyle = False
23+
1824
Settings`$PygmentsStyle::usage = "This variable sets the Pygments style used to colorize output. The value should be a string.
1925
2026
The default value changes background depending on whether the terminal has a light or dark background. You can also set the color style used on the command with the ``--style`` option, or look at the variable ```Settings`PygmentsStylesAvailable```. Or it can be set in the settings.m file."

0 commit comments

Comments
 (0)