alexmurray / flycheck-posframe

Show flycheck errors via posframe.el
60 stars 9 forks source link

":hidehandler" should be #'posframe-hidehandler-when-buffer-switch instead of #'posframe-hide #24

Closed blahgeek closed 3 years ago

blahgeek commented 3 years ago

https://github.com/alexmurray/flycheck-posframe/blob/66b73ddb93b357fe9b849d2aa14d5cc9e89e9ffd/flycheck-posframe.el#L225

From posframe document:

HIDEHANDLER is a function, when it return t, posframe will be
hide when `post-command-hook' is executed, this function has a
plist argument:

  (:posframe-buffer xxx
   :posframe-parent-buffer xxx)

The builtin hidehandler functions are listed below:

1. `posframe-hidehandler-when-buffer-switch'
alexmurray commented 3 years ago

Thanks for pointing this out - should be fixed now.