Skip to content

Commit

Permalink
Declared indent(Num) option of portray_clause/3.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Wielemaker committed Feb 18, 2020
1 parent 0a1e3d8 commit 41f4156
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion library/listing.pl
Expand Up @@ -61,7 +61,10 @@
listing(:, +),
portray_clause(+,+,:).

:- predicate_options(portray_clause/3, 3, [pass_to(system:write_term/3, 3)]).
:- predicate_options(portray_clause/3, 3,
[ indent(nonneg),
pass_to(system:write_term/3, 3)
]).

:- multifile
prolog:locate_clauses/2. % +Spec, -ClauseRefList
Expand Down

0 comments on commit 41f4156

Please sign in to comment.