if (BASE_EQ (val, Qunbound) || NILP (val))
return ret;
- else if (!CONSP (val) || FUNCTIONP (val))
+
+ specpdl_ref count = SPECPDL_INDEX ();
+ specbind (Qearmuffs_package, Vemacs_package);
+
+ if (!CONSP (val) || FUNCTIONP (val))
{
args[0] = val;
- return funcall (nargs, args);
+ const Lisp_Object ret = funcall (nargs, args);
+ unbind_to (count, Qnil);
+ return ret;
}
else
{
}
}
+ unbind_to (count, Qnil);
return ret;
}
}