aboutsummaryrefslogtreecommitdiff
path: root/printing
diff options
context:
space:
mode:
authorGaëtan Gilbert2019-05-13 12:49:39 +0200
committerGaëtan Gilbert2019-05-13 12:49:39 +0200
commitcfecef471c706beb50d70b951b148c9629a4064a (patch)
treed1ea20cc7b7af614311e2f4294a51a70e430971d /printing
parentfe75c2ab9400a83b18fa73e95d4c24a79f88c97d (diff)
parent1cdaa823aa2db2f68cf63561a85771bb98aec70f (diff)
Merge PR #9887: [api] Remove 8.10 deprecations.
Reviewed-by: SkySkimmer
Diffstat (limited to 'printing')
-rw-r--r--printing/printmod.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/printing/printmod.ml b/printing/printmod.ml
index f4986652b3..bd97104f60 100644
--- a/printing/printmod.ml
+++ b/printing/printmod.ml
@@ -63,7 +63,7 @@ let keyword s = tag_keyword (str s)
let get_new_id locals id =
let rec get_id l id =
let dir = DirPath.make [id] in
- if not (Nametab.exists_module dir) then
+ if not (Nametab.exists_dir dir) then
id
else
get_id (Id.Set.add id l) (Namegen.next_ident_away id l)