let set_proof_aliases status aliases =
let new_status = {status with aliases = aliases } in
let diff = alias_diff ~from:status new_status in
- let moo_content_rev =
- DisambiguatePp.pp_environment diff ::
- status.moo_content_rev in
+ let textual_diff =
+ if DisambiguateTypes.Environment.is_empty diff then
+ ""
+ else
+ DisambiguatePp.pp_environment diff ^ "\n" in
+ let moo_content_rev = textual_diff :: status.moo_content_rev in
{new_status with moo_content_rev = moo_content_rev}
(** given a uri and a type list (the contructors types) builds a list of pairs