Commit 47ccd8b6 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Fmacroexpand): For an autoload definition,

check the 4th elt, not the car of the 4th elt.
parent 56b18525
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment