You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Frustratingly, that error doesn't point to the source of the error. But I've narrowed it down to the autoloads for listen, as (featurep 'listen-autoloads) returns nil, and the functions autoloaded in listen-autoloads.el after this line are not defined:
If I manually M-x load-library RET listen-autoloads RET, then the rest of the file gets loaded and the functions are defined.
I don't understand how I could be the first (or even second) to encounter this problem, and I don't know how to fix it. By preventing my package's autoloads from loading completely, it's breaking some important functionality in the package.
I'd appreciate any help. Thanks.
The text was updated successfully, but these errors were encountered:
Unfortunately that doesn't just work for arbitrary "defun" macros. Emacs has to be taught about each one individually, and that has to be done by editing Emacs. ☹️
For these macros I did it a month ago in emacsmirror/emacs@167d9b9. In other words, until your package stops supporting Emacs versions that are currently released, you have to use this instead:
Hi Jonas,
This seems to be the issue described in #254.
Please see this code in my
listen
package:https://github.com/alphapapa/listen.el/blob/5abe25ff1678ffa694f7b062ca748ac143af47a1/listen.el#L331-L344
I explicitly
(require 'transient)
, and I do:;;;###autoload (transient-define-prefix listen-menu () ...
But when I start Emacs, I get this error:
Frustratingly, that error doesn't point to the source of the error. But I've narrowed it down to the autoloads for
listen
, as(featurep 'listen-autoloads)
returns nil, and the functions autoloaded inlisten-autoloads.el
after this line are not defined:If I manually
M-x load-library RET listen-autoloads RET
, then the rest of the file gets loaded and the functions are defined.I don't understand how I could be the first (or even second) to encounter this problem, and I don't know how to fix it. By preventing my package's autoloads from loading completely, it's breaking some important functionality in the package.
I'd appreciate any help. Thanks.
The text was updated successfully, but these errors were encountered: