]> git.eshelyaron.com Git - emacs.git/commitdiff
Allow ;;;###autoloading transient-define-prefix
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 15 Jul 2022 11:06:22 +0000 (13:06 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 16 Jul 2022 10:40:12 +0000 (12:40 +0200)
* lisp/emacs-lisp/loaddefs-gen.el
(loaddefs-generate--make-autoload): Allow ;;;###autoloading
transient-define-prefix (bug#48694).

* lisp/transient.el (transient-define-prefix): Autoload.

lisp/emacs-lisp/loaddefs-gen.el
lisp/transient.el

index 8a50b777da168ec26198ed67dfc5af559c620000..261e44aeced9de2fe6f9f6bc678a2c79da634d65 100644 (file)
@@ -174,7 +174,8 @@ expression, in which case we want to handle forms differently."
                        define-globalized-minor-mode defun defmacro
                       easy-mmode-define-minor-mode define-minor-mode
                        define-inline cl-defun cl-defmacro cl-defgeneric
-                       cl-defstruct pcase-defmacro iter-defun cl-iter-defun))
+                       cl-defstruct pcase-defmacro iter-defun cl-iter-defun
+                       transient-define-prefix))
            (macrop car)
           (setq expand (let ((load-true-file-name file)
                               (load-file-name file))
index 41b69b1abace152cf40ce33229f54d9677f258ab..8c41706f157b3a01b35a982fdaf5f8f9208941eb 100644 (file)
@@ -784,6 +784,7 @@ elements themselves.")
 
 ;;; Define
 
+;;;###autoload
 (defmacro transient-define-prefix (name arglist &rest args)
   "Define NAME as a transient prefix command.