From 10774d21719b66fe0801c4f8a41fe827fcda1a1c Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Sat, 12 Oct 2024 20:00:17 +0700 Subject: [PATCH] Emacs: Wrong mode check --- .config/emacs/init.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/emacs/init.org b/.config/emacs/init.org index e799661..644a683 100644 --- a/.config/emacs/init.org +++ b/.config/emacs/init.org @@ -2274,7 +2274,7 @@ These help speed eglot up apparently [[https://www.reddit.com/r/emacs/comments/1 (defun joe/flycheck-clear () (interactive) - (when (boundp 'lsp-ui) + (when (boundp 'lsp-ui-mode) (flycheck-clear) (lsp-ui-sideline--erase)))