When I use eldoc, I add this to .emacs:

 (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode)
 (add-hook 'lisp-interaction-mode-hook 'turn-on-eldoc-mode)
 (add-hook 'ielm-mode-hook 'turn-on-eldoc-mode)

and then when I use Emacs, it uses 100% CPU.

But when I delete this code in .emacs, my Emacs works.

Does anyone have any idea about this? Or how to debug the problem.

Or something else to substitute for eldoc?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.