diff options
| author | Richard M. Stallman | 1993-12-23 02:04:40 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-12-23 02:04:40 +0000 |
| commit | 47ccd8b6efbb912b2df3e2bdc5b0671519e62ba1 (patch) | |
| tree | bd617a7e11b8dbf8da43a235bedfb4d19989606f /src | |
| parent | 56b185250f28addef79e95fcb8f22ffe9a38f6b2 (diff) | |
| download | emacs-47ccd8b6efbb912b2df3e2bdc5b0671519e62ba1.tar.gz emacs-47ccd8b6efbb912b2df3e2bdc5b0671519e62ba1.zip | |
(Fmacroexpand): For an autoload definition,
check the 4th elt, not the car of the 4th elt.
Diffstat (limited to 'src')
| -rw-r--r-- | src/eval.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/eval.c b/src/eval.c index b7d06fb78b9..1a5fc45004f 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -809,8 +809,7 @@ definitions to shadow the loaded ones for use in file byte-compilation.") | |||
| 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); |