mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-03 10:31:37 -08:00
Do not include interactive args in autoload files
(Bug#78995) * lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate--make-autoload): Do not include `interactive' ARG-DESCRIPTOR in generated autoload forms for function-defining macros, but only modes.
This commit is contained in:
parent
7486e5c368
commit
a15a4fa94b
1 changed files with 2 additions and 2 deletions
|
|
@ -291,8 +291,8 @@ expand)' among their `declare' forms."
|
|||
t)
|
||||
(and (eq (car-safe (car body)) 'interactive)
|
||||
;; List of modes or just t.
|
||||
(or (if (nthcdr 1 (car body))
|
||||
(list 'quote (nthcdr 1 (car body)))
|
||||
(or (if (nthcdr 2 (car body))
|
||||
(list 'quote (nthcdr 2 (car body)))
|
||||
t))))
|
||||
,(if macrop ''macro nil)))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue