From 448933608477ddfb8158097cfc6dca62ad8d7b88 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Sat, 7 Nov 1992 06:10:53 +0000 Subject: * 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. --- lisp/emacs-lisp/autoload.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/emacs-lisp/autoload.el') diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index 17dbfd7c7b5..117e8355f67 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el @@ -39,7 +39,8 @@ Returns nil if FORM is not a defun or defmacro." (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" -- cgit v1.2.3