return XPACKAGE (package)->name;
}
+INLINE Lisp_Object
+PACKAGE_USE_LIST (Lisp_Object package)
+{
+ return XPACKAGE (package)->use_list;
+}
+
extern void init_pkg_once (void);
extern void init_pkg (void);
extern void syms_of_pkg (void);
print_c_string (":", printcharfun);
check_number_p = false;
}
- else if (EQ (package, Vearmuffs_package))
- ;
else if (NILP (package))
{
if (!NILP (Vprint_gensym))
print_c_string ("#:", printcharfun);
}
- else
+ else if (NILP (PACKAGE_NAMEX (package)))
+ {
+ /* This should not happen normally, because delete-package
+ should un-home symbols. But it can if we have a bug
+ in pkg.el which a test catches. */
+ print_c_string ("#<deleted package>:", printcharfun);
+ check_number_p = false;
+ }
+ else if (!EQ (package, Vearmuffs_package))
{
/* If the symbol is accessible, it need not be qualified. */
Lisp_Object status;