From 49e41991b2fdd0ef9358631c00ec8d0daec3f91c Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 15 Jul 2022 13:06:22 +0200 Subject: [PATCH] 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. --- lisp/emacs-lisp/loaddefs-gen.el | 3 ++- lisp/transient.el | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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. -- 2.39.2