alert icon indicating copy to clipboard operation
alert copied to clipboard

post-command-hook alert-remove-on-command should not act during eval-expression

Open leezu opened this issue 6 years ago • 0 comments

One minor issue is that [...] simply doing (alert "test test" :id "new-mail") from eval-expression will get immediately removed by the post-command-hook alert-remove-on-command, unless you also provide some :buffer to it.

( via https://github.com/jwiegley/alert/issues/58#issuecomment-352430518 )

I believe this is not documented and somewhat confusing when testing any style that uses an :remover.

Is it possible to wrap the post-command-hook in run-with-timer or similar to fix the issue?

leezu avatar Jan 23 '18 09:01 leezu