fix(chinese): evil-pinyin: autoloads error

Some unknown difference between `loaddefs-generate` (Emacs 29+) and
`make-directory-autoloads` (<=28) causes evil-pinyin's autoloads file to
throw an error in 29+ when loaded, complaining about missing macros
defined by its dependencies (mainly `define-namespace` and
`evil-define-*`). Specifically, void-function errors.

Since the package is loaded almost immediately on startup, evil-pinyin's
autoloads file isn't needed in the first place, so by disabling it, the
error is resolved. This'll do until I can find a better solution or, at
least, the right party to report it to.

Ref: #6482
This commit is contained in:
Henrik Lissner 2023-02-23 18:27:58 -05:00
parent b51f743e67
commit 016d7b8fe3
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -10,4 +10,6 @@
(when (modulep! +childframe)
(package! posframe :pin "0d23bc5f7cfac00277d83ae7ba52c48685bcbc68"))
(when (modulep! :editor evil +everywhere)
(package! evil-pinyin :pin "3e9e501ded86f88e01a4edec5d526ab0fab879d7"))
(package! evil-pinyin
:recipe (:build (:not autoloads))
:pin "3e9e501ded86f88e01a4edec5d526ab0fab879d7"))