Use eldoc-documentation hook instead of variable#211
Use eldoc-documentation hook instead of variable#211mohkale wants to merge 1 commit intoleoliu:masterfrom
Conversation
|
|
|
Wow that's really recent. If that's the case then I can understand avoiding using the new hooks style until a few more emacs releases. I made this PR because I saw If you'd like you can close this issue. I'll probably re-open it when the need for this becomes more apparrent. |
|
There may be some recent change I am not aware of. will take a closer look later today. thanks for the PR :) |
|
I check the copy of eldoc.el on http://git.savannah.gnu.org/cgit/emacs.git/plain/lisp/emacs-lisp/eldoc.el and it seems there is incompatible changes likely to appear in emacs 28. Don't know why |
|
Looking back on it you mention the hooks support has been in emacs for a while. Wouldn't that mean you can migrate ggtags to the hooks API and still support emacs's older than 27. Since |
Not sure which version of emacs added using hooks for eldoc instead of the eldoc variable so this may require bumping the minimum supported version.
Advantage of the new approach: