1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 12:20:39 -08:00

(Fmacroexpand): For an autoload definition,

check the 4th elt, not the car of the 4th elt.
This commit is contained in:
Richard M. Stallman 1993-12-23 02:04:40 +00:00
parent 56b185250f
commit 47ccd8b6ef

View file

@ -809,8 +809,7 @@ definitions to shadow the loaded ones for use in file byte-compilation.")
{
/* Autoloading function: will it be a macro when loaded? */
tem = Fnth (make_number (4), def);
if (EQ (XCONS (tem)->car, Qt)
|| EQ (XCONS (tem)->car, Qmacro))
if (EQ (tem, Qt) || EQ (tem, Qmacro))
/* Yes, load it and try again. */
{
do_autoload (def, sym);