Mercurial > emacs
comparison src/eval.c @ 5254:b38b74fe1722
(Fmacroexpand): For an autoload definition,
check the 4th elt, not the car of the 4th elt.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 23 Dec 1993 02:04:40 +0000 |
parents | 73203b90eb26 |
children | 50ada322de3e |
comparison
equal
deleted
inserted
replaced
5253:1846f03ac8f3 | 5254:b38b74fe1722 |
---|---|
807 break; | 807 break; |
808 if (EQ (XCONS (def)->car, Qautoload)) | 808 if (EQ (XCONS (def)->car, Qautoload)) |
809 { | 809 { |
810 /* Autoloading function: will it be a macro when loaded? */ | 810 /* Autoloading function: will it be a macro when loaded? */ |
811 tem = Fnth (make_number (4), def); | 811 tem = Fnth (make_number (4), def); |
812 if (EQ (XCONS (tem)->car, Qt) | 812 if (EQ (tem, Qt) || EQ (tem, Qmacro)) |
813 || EQ (XCONS (tem)->car, Qmacro)) | |
814 /* Yes, load it and try again. */ | 813 /* Yes, load it and try again. */ |
815 { | 814 { |
816 do_autoload (def, sym); | 815 do_autoload (def, sym); |
817 continue; | 816 continue; |
818 } | 817 } |