summaryrefslogtreecommitdiff
path: root/lisp/progmodes/flymake.el
diff options
context:
space:
mode:
authorJoão Távora <joaotavora@gmail.com>2020-08-29 16:39:47 +0100
committerJoão Távora <joaotavora@gmail.com>2020-08-30 14:55:36 +0100
commitdd910dd2f84752e03ab369fa3e967e1d0086f16a (patch)
treef1149c9bbbf663e17f6c5c8a31445f3b9c1cdc6e /lisp/progmodes/flymake.el
parentbf018eefa2a9c33f9f80e977ee085e89df526992 (diff)
downloademacs-dd910dd2f84752e03ab369fa3e967e1d0086f16a.tar.gz
Place flymake-eldoc-function at the end of eldoc-documentation-functions
Having it placed in the beginning of that hook meant it was mostly impossible to track the args to a function call while writing it from scratch, since most compilers issue a diagnostic about incorrect number of arguments. See bug#43103. * lisp/progmodes/flymake.el (flymake-mode): Lower priority of flymake-eldoc-function.
Diffstat (limited to 'lisp/progmodes/flymake.el')
-rw-r--r--lisp/progmodes/flymake.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index 37e73241e5d..bdb775795ab 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -1002,7 +1002,7 @@ special *Flymake log* buffer." :group 'flymake :lighter
(add-hook 'after-change-functions 'flymake-after-change-function nil t)
(add-hook 'after-save-hook 'flymake-after-save-hook nil t)
(add-hook 'kill-buffer-hook 'flymake-kill-buffer-hook nil t)
- (add-hook 'eldoc-documentation-functions 'flymake-eldoc-function nil t)
+ (add-hook 'eldoc-documentation-functions 'flymake-eldoc-function t t)
;; If Flymake happened to be alrady already ON, we must cleanup
;; existing diagnostic overlays, lest we forget them by blindly