mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-30 08:09:04 +00:00
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.
This commit is contained in:
parent
bf018eefa2
commit
dd910dd2f8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user