* 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.
This commit is contained in:
parent
45c18993b7
commit
4489336084
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue