From 0515c9aec7a69f89cab10cad634ef9b65e907ed8 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Wed, 26 Jun 2024 18:16:58 +0800 Subject: [PATCH] fix: still display sideline even after reverting the buffer --- lisp/init-check.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/init-check.el b/lisp/init-check.el index 3dab00afe..6fc7d9690 100644 --- a/lisp/init-check.el +++ b/lisp/init-check.el @@ -52,7 +52,8 @@ (sideline-flymake-error ((t (:height 0.85 :italic t)))) (sideline-flymake-warning ((t (:height 0.85 :italic t)))) (sideline-flymake-success ((t (:height 0.85 :italic t)))) - :hook (flymake-mode . sideline-mode) + :hook ((flymake-mode . sideline-mode) + (before-revert . sideline--disable)) :init (setq sideline-flymake-display-mode 'point sideline-backends-right '(sideline-flymake)))