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,the emacs works.
anyone has idea about this?Or how to debug the problem.
Or anyother way to substitute for the eldoc?