mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
fix(lsp): alias flymake--diag-buffer to flymake--diag-locus
To accommodate breaking API changes in Flymake in newer versions of Emacs 28. Fix: #5644 Ref: emacs-mirror/emacs@4633e02726
This commit is contained in:
committed by
Henrik Lissner
parent
e303be6951
commit
d4c5e025de
@ -67,4 +67,10 @@ CALLBACK is the function that we need to call when we are done, on all the error
|
|||||||
;; errors
|
;; errors
|
||||||
(flycheck-buffer-deferred))))
|
(flycheck-buffer-deferred))))
|
||||||
|
|
||||||
|
(after! flymake
|
||||||
|
(when (and
|
||||||
|
(not (fboundp 'flymake--diag-buffer))
|
||||||
|
(fboundp 'flymake--diag-locus))
|
||||||
|
(defalias 'flymake--diag-buffer 'flymake--diag-locus)))
|
||||||
|
|
||||||
;;; flycheck-eglot.el ends here
|
;;; flycheck-eglot.el ends here
|
||||||
|
Reference in New Issue
Block a user