From 2c52e9ba8b18fb94f9e04e653810a149b79b4821 Mon Sep 17 00:00:00 2001 From: Jimmy Yuen Ho Wong Date: Mon, 4 Nov 2024 13:37:31 +0000 Subject: [PATCH] Turn off help-echo to prevent error msgs from showing in echo area --- flycheck-inline.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flycheck-inline.el b/flycheck-inline.el index 5679e01..1dc7387 100644 --- a/flycheck-inline.el +++ b/flycheck-inline.el @@ -256,11 +256,13 @@ directly below the error reported location." (cond ;; Use our display function. (flycheck-inline-mode + (setq-local flycheck-help-echo-function nil) (setq-local flycheck-display-errors-function #'flycheck-inline-display-errors) (setq-local flycheck-clear-displayed-errors-function #'flycheck-inline-hide-errors)) ;; Reset the display function and remove ourselves from all hooks but only ;; if the mode is still active. ((not flycheck-inline-mode) + (kill-local-variable 'flycheck-help-echo-function) (kill-local-variable 'flycheck-display-errors-function) (kill-local-variable 'flycheck-clear-displayed-errors-function) (flycheck-inline-hide-errors))))