13

Using Rust/Racer/Eldoc is causing performance problems while navigating around the file (hanging while eldoc is fetching the docs).

Running eldoc-mode reports that it's disabled but still runs Racer's eldoc function.

Is there a way to globally disable eldoc?

Dan
  • 32,584
  • 6
  • 98
  • 168
ideasman42
  • 8,375
  • 1
  • 28
  • 105

1 Answers1

21

Since Emacs 25.1 a new global minor mode global-eldoc-mode exists, and is enabled by default.

To disable it, simply add this to your init file:

(global-eldoc-mode -1)

You can alternatively (setq-local eldoc-documentation-function #'ignore) in buffers for which you wish eldoc to have no effect, without disabling it elsewhere.

phils
  • 48,657
  • 3
  • 76
  • 115