Skip to content

Commit 41c5276

Browse files
GAPgap
authored andcommitted
Adjust info handler to changes in lib.
git-svn-id: path/gapdoc/trunk@343
1 parent b9a9d8b commit 41c5276

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

init.g

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,15 @@ function ( infoclass, level, list )
1717
else
1818
out := DefaultInfoOutput;
1919
fi;
20-
for s in list do
21-
AppendTo( out, s );
22-
od;
20+
if out = "*Print*" then
21+
for s in list do
22+
Print(s);
23+
od;
24+
else
25+
for s in list do
26+
AppendTo( out, s );
27+
od;
28+
fi;
2329
end);
2430

2531
ReadPackage("GAPDoc", "lib/UnicodeTools.gd");

0 commit comments

Comments
 (0)