From: Lars Ingebrigtsen Date: Fri, 15 Jul 2022 11:06:22 +0000 (+0200) Subject: Allow ;;;###autoloading transient-define-prefix X-Git-Tag: emacs-29.0.90~1447^2~901 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=49e41991b2fdd0ef9358631c00ec8d0daec3f91c;p=emacs.git Allow ;;;###autoloading transient-define-prefix * lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate--make-autoload): Allow ;;;###autoloading transient-define-prefix (bug#48694). * lisp/transient.el (transient-define-prefix): Autoload. --- diff --git a/lisp/emacs-lisp/loaddefs-gen.el b/lisp/emacs-lisp/loaddefs-gen.el index 8a50b777da1..261e44aeced 100644 --- a/lisp/emacs-lisp/loaddefs-gen.el +++ b/lisp/emacs-lisp/loaddefs-gen.el @@ -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)) diff --git a/lisp/transient.el b/lisp/transient.el index 41b69b1abac..8c41706f157 100644 --- a/lisp/transient.el +++ b/lisp/transient.el @@ -784,6 +784,7 @@ elements themselves.") ;;; Define +;;;###autoload (defmacro transient-define-prefix (name arglist &rest args) "Define NAME as a transient prefix command.