]> git.eshelyaron.com Git - emacs.git/commit
Fix loaddef generation with ";;;foo-autoload" cookies in external packages
authorJim Porter <jporterbugs@gmail.com>
Fri, 4 Aug 2023 16:31:59 +0000 (09:31 -0700)
committerJim Porter <jporterbugs@gmail.com>
Fri, 4 Aug 2023 18:01:31 +0000 (11:01 -0700)
commit8574ef314c4250f7c10245cb8abe11dcc07bfe6d
treef20d7a1be23931bdbe18832e5380cf13e4645af8
parent8cbd4a02a2b9823a6aa7e722af6e3d204f881aed
Fix loaddef generation with ";;;foo-autoload" cookies in external packages

This caused an issue where package-specific autoload cookies weren't
being correctly recognized, so they got dumped into the package's main
"<pkg>-autoloads.el" file, instead of "<pkg>-loaddefs.el" as they
should (bug#65023).

* lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate--parse-file):
Save match data when checking syntax.
lisp/emacs-lisp/loaddefs-gen.el