changeset 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 1846f03ac8f3
children b7d235bb78a7
files src/eval.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/eval.c	Thu Dec 23 02:02:36 1993 +0000
+++ b/src/eval.c	Thu Dec 23 02:04:40 1993 +0000
@@ -809,8 +809,7 @@
 	    {
 	      /* 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);