From 911368472919b33db622c2d1ad062dadb7b20ca3 Mon Sep 17 00:00:00 2001 From: Alex Murray Date: Mon, 15 Mar 2021 10:35:48 +1030 Subject: [PATCH] Don't use posframe to hide since is only part of our use-case We also need to hide when point moves away for the error etc. Together with the previous commit this should resolve issue #27 for now. --- flycheck-posframe.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/flycheck-posframe.el b/flycheck-posframe.el index 4f0d9c4..cc70976 100644 --- a/flycheck-posframe.el +++ b/flycheck-posframe.el @@ -221,8 +221,7 @@ Only the `foreground' is used in this face." :position (point) :internal-border-width flycheck-posframe-border-width :internal-border-color (face-foreground 'flycheck-posframe-border-face nil t) - :poshandler poshandler - :hidehandler #'posframe-hidehandler-when-buffer-switch)) + :poshandler poshandler)) (dolist (hook flycheck-posframe-maybe-hide-posframe-hooks) (add-hook hook #'flycheck-posframe-maybe-hide-posframe)) (dolist (hook flycheck-posframe-hide-posframe-hooks)