Skip to content

Commit

Permalink
Don't use posframe to hide since is only part of our use-case
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
alexmurray committed Mar 15, 2021
1 parent 6eea204 commit 9113684
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions flycheck-posframe.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9113684

Please sign in to comment.