Closed YuFei29 closed 1 year ago
Honestly I don't know what causes this. It seems to be a problem of your Emacs installation since loaddefs.el comes from there. In my Emacs the file is located at share/emacs/29.1.50/lisp/loaddefs.elc. Did you try reinstalling/resetting everything around Emacs? Also try a minimal setup based on emacs -Q. Please let me know if you manage to narrow this down to a reproducible example. Thanks!
(Closing for now since this is likely an installation issue and not a Marginalia issue. Marginalia tries to access the existing docstrings, which seems to be unavailable due to some lower level problem. Marginalia is widely used and this particular issue hasn't surfaced so far, which hints at a problem of your Emacs installation.)
Thanks for your reply. I solved this problem by byte-compile-file
under /usr/share/emacs/29.1/lisp/loaddefs.el
This problem maybe cause by some reson /usr/share/emacs/29.1/lisp/loaddefs.el
have not been byte compiled.
I cannot see the doc, but if I run a command, then the doc string of this command can work correct.
What's happend here. How can I fix it?
I'm running openSUSE under wsl.