tem = Fassq (sym, environment);
if (NILP (tem))
{
- def = XSYMBOL (sym)->function;
+ def = SVAR (XSYMBOL (sym), function);
if (!EQ (def, Qunbound))
continue;
}
CHECK_STRING (file);
/* If function is defined and not as an autoload, don't override. */
- if (!EQ (XSYMBOL (function)->function, Qunbound)
- && !(CONSP (XSYMBOL (function)->function)
- && EQ (XCAR (XSYMBOL (function)->function), Qautoload)))
+ if (!EQ (SVAR (XSYMBOL (function), function), Qunbound)
+ && !(CONSP (SVAR (XSYMBOL (function), function))
+ && EQ (XCAR (SVAR (XSYMBOL (function), function)), Qautoload)))
return Qnil;
if (NILP (Vpurify_flag))
/* Optimize for no indirection. */
fun = original_fun;
if (SYMBOLP (fun) && !EQ (fun, Qunbound)
- && (fun = XSYMBOL (fun)->function, SYMBOLP (fun)))
+ && (fun = SVAR (XSYMBOL (fun), function), SYMBOLP (fun)))
fun = indirect_function (fun);
if (SUBRP (fun))
/* Optimize for no indirection. */
if (SYMBOLP (fun) && !EQ (fun, Qunbound)
- && (fun = XSYMBOL (fun)->function, SYMBOLP (fun)))
+ && (fun = SVAR (XSYMBOL (fun), function), SYMBOLP (fun)))
fun = indirect_function (fun);
if (EQ (fun, Qunbound))
{
/* Optimize for no indirection. */
fun = original_fun;
if (SYMBOLP (fun) && !EQ (fun, Qunbound)
- && (fun = XSYMBOL (fun)->function, SYMBOLP (fun)))
+ && (fun = SVAR (XSYMBOL (fun), function), SYMBOLP (fun)))
fun = indirect_function (fun);
if (SUBRP (fun))