changeset 1552:f2901040a07b

* autoload.el (make-autoload): When creating an autoload invocation for a macro, pass (list 'quote 'macro) as the sixth argument, not just t. autoload's sixth argument is now a type instead of just a boolean value, so we should use a value which reflects that.
author Jim Blandy <jimb@redhat.com>
date Sat, 07 Nov 1992 06:10:53 +0000
parents 1f7d20c707c0
children 6b409871cc4a
files lisp/emacs-lisp/autoload.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/autoload.el	Sat Nov 07 05:29:26 1992 +0000
+++ b/lisp/emacs-lisp/autoload.el	Sat Nov 07 06:10:53 1992 +0000
@@ -39,7 +39,8 @@
 	      (setq form (cdr form))
 	    (setq doc nil))
 	  (list 'autoload (list 'quote name) file doc
-		(eq (car-safe (car form)) 'interactive) macrop))
+		(eq (car-safe (car form)) 'interactive)
+		(if macrop (list 'quote 'macro) nil)))
       nil)))
 
 (defconst generate-autoload-cookie ";;;###autoload"