]> git.eshelyaron.com Git - emacs.git/commit
loaddefs-gen.el: Generate an autoload for `pcase-defmacro`
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 12 Feb 2024 03:19:49 +0000 (22:19 -0500)
committerEshel Yaron <me@eshelyaron.com>
Mon, 12 Feb 2024 07:02:55 +0000 (08:02 +0100)
commit2e404d90ac87415cc890ffff2a054adfb4a8e763
tree60ffda3ad41717173949cafd4f815b88cf87d0c8
parent33de1a40eab43892f5b84f2cdbbf4603eb1e47bc
loaddefs-gen.el: Generate an autoload for `pcase-defmacro`

Autoload cookies on uses of `pcase-defmacro` used to copy
the definition wholesale instead of generating the expected autoload.

* lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate--make-autoload):
Look inside `eval-and-compile` as well.

(cherry picked from commit 57544fa2a2e1f2d04aa6b6bdf49bde71141b945d)
lisp/emacs-lisp/loaddefs-gen.el