autocmd: add a service function `autocmd_in_use`
authorSébastien Marie <semarie@users.noreply.github.com>
Tue, 28 Oct 2014 11:09:40 +0000 (12:09 +0100)
committerSébastien Marie <semarie@users.noreply.github.com>
Tue, 28 Oct 2014 11:09:40 +0000 (12:09 +0100)
commitc4cd0c2bc2a26eb513b0e7e8772f27cf22f7b772
tree3ecf881eee57413f72ace0c89d4276552e092cca
parent9f6733900aa3b64ee7c9e272dc569f5a794b5270
autocmd: add a service function `autocmd_in_use`

The function should permit to check if an AuEvent is actually in use or
not. It would permit to change program behaviour at runtime, and reduce
the overhead of some functions when AuEvent isn't used.
src/autocmd.c
src/autocmd.h