diff -r 3c837f8c8ed5 -r 5db014c36f42 src/Pure/Isar/outer_syntax.ML --- a/src/Pure/Isar/outer_syntax.ML Wed Apr 19 23:27:55 2023 +0200 +++ b/src/Pure/Isar/outer_syntax.ML Thu Apr 20 11:57:34 2023 +0200 @@ -112,7 +112,7 @@ (* maintain commands *) fun add_command name cmd thy = - if member (op =) Thy_Header.bootstrap_thys (Context.theory_name thy) then thy + if member (op =) Thy_Header.bootstrap_thys (Context.theory_base_name thy) then thy else let val _ =