]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix autoload generation of iter-defun forms
authorMichael Heerdegen <michael_heerdegen@web.de>
Fri, 1 Apr 2022 22:56:09 +0000 (00:56 +0200)
committerMichael Heerdegen <michael_heerdegen@web.de>
Tue, 21 Jun 2022 17:50:10 +0000 (19:50 +0200)
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.

lisp/emacs-lisp/loaddefs-gen.el

index a686de406abdf0d59a79a9baf9e64955c4e766d3..7545ba1e5e80e67924a92e7b3b252f8381dcbf4e 100644 (file)
@@ -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))