p->u.s.trapped_write = SYMBOL_UNTRAPPED_WRITE;
p->u.s.declared_special = false;
p->u.s.pinned = false;
- p->u.s.external = false;
}
DEFUN ("make-symbol", Fmake_symbol, Smake_symbol, 1, 1, 0,
/* True if pointed to from purespace and hence can't be GC'd. */
bool_bf pinned : 1;
- /* True if external symbol in its home package. */
- bool_bf external : 1;
-
/* The symbol's name, as a Lisp string. */
Lisp_Object name;
return XSYMBOL (sym)->u.s.package;
}
-INLINE bool
-SYMBOL_EXTERNAL_P (Lisp_Object sym)
-{
- return XSYMBOL (sym)->u.s.external;
-}
-
INLINE bool
SYMBOL_KEYWORD_P (Lisp_Object sym)
{
DUMP_FIELD_COPY (&out, symbol, u.s.trapped_write);
DUMP_FIELD_COPY (&out, symbol, u.s.declared_special);
DUMP_FIELD_COPY (&out, symbol, u.s.pinned);
- DUMP_FIELD_COPY (&out, symbol, u.s.external);
dump_field_lv (ctx, &out, symbol, &symbol->u.s.name, WEIGHT_STRONG);
switch (symbol->u.s.redirect)
{
eassert (SYMBOLP (symbol));
eassert (SYMBOLP (status));
eassert (PACKAGEP (package));
- XSYMBOL (symbol)->u.s.external = EQ (package, Vkeyword_package);
Fputhash (symbol, status, PACKAGE_SYMBOLS (package));
return symbol;
}