From: Michael Heerdegen Date: Fri, 1 Apr 2022 22:56:09 +0000 (+0200) Subject: Fix autoload generation of iter-defun forms X-Git-Tag: emacs-29.0.90~1447^2~1552 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=406fd979218321d887c4ca550bcc94f20f6c1713;p=emacs.git Fix autoload generation of iter-defun forms This fixes Bug#54648. * lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate--make-autoload): Add `iter-defun' and `cl-iter-defun' to the list of "complex cases" that are macro-expanded and recursed on. --- diff --git a/lisp/emacs-lisp/loaddefs-gen.el b/lisp/emacs-lisp/loaddefs-gen.el index a686de406ab..7545ba1e5e8 100644 --- a/lisp/emacs-lisp/loaddefs-gen.el +++ b/lisp/emacs-lisp/loaddefs-gen.el @@ -174,7 +174,7 @@ 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)) + cl-defstruct pcase-defmacro iter-defun cl-iter-defun)) (macrop car) (setq expand (let ((load-true-file-name file) (load-file-name file))