eldoc error: (void-function eldoc-documentation-compose)
tsilvap opened this issue · 3 comments
tsilvap commented
I'm getting this error if I open e.g. a Python file.
This function is defined in elpa-27.1/eldoc-1.11.1/eldoc.el
, but if I try to search for it with C-h f
it doesn't show up. Even if I evaluate (require-package 'eldoc)
, it still doesn't work. However, if I go to the eldoc.el
file and evaluate the entire file, it works and the problem goes away.
I'm not really sure what is the right way to fix this.
Eason0210 commented
Maybe you can try to update to Emacs 28.1, which is the latest stable release version.
eldoc-documentation-compose
is a new function introduced at Emacs 28: emacs-mirror/emacs@c0fcbd2
tsilvap commented
I see, that worked for me. Thank you @Eason0210
purcell commented
Ah, good call, I should make sure this still works in older emacsen.