I have both eldoc and flycheck enabled in a .el buffer. I have a line, eg:

(setq load-dirs (concat emacs-repos-dir "internal"))

Here, load-dirs is underlined by flycheck as an error, but if point is over load-dirs then eldoc will display the definition of 'setq' for about half a second before the flycheck message is printed. How do I reduce this timeout?

You can change eldoc-idle-delay (default is 0.5) and flycheck-display-errors-delay (default is 0.9). Example:

(setq eldoc-idle-delay 0.1
      flycheck-display-errors-delay 0.2)
  • Hm...interestingly, even though flycheck-display-errors-delay is 0.9, it is showing the error immediatly. Why would this be? – Nathaniel Flath Oct 28 '14 at 14:51

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.