]> code.delx.au - gnu-emacs-elpa/commit
"C-g" (`hydra-keyboard-quit' ) should run :post
authorOleh Krehel <ohwoeowho@gmail.com>
Tue, 10 Mar 2015 08:32:12 +0000 (09:32 +0100)
committerOleh Krehel <ohwoeowho@gmail.com>
Tue, 10 Mar 2015 08:32:12 +0000 (09:32 +0100)
commita867927a10728ad57f9c8e4dd3953d20c3bb6cfd
treeb4af1e734ee3e9e96dde0f237b700fa5811492a3
parent88c7dc41cf28d263c03532904e9a8727a6455d48
"C-g" (`hydra-keyboard-quit' ) should run :post

* hydra.el (hydra--handle-nonhead): Bind the plain `hydra-keyboard-quit'
  only when there's no :post.
(defhydra): When there's :post, add another head for keyboard quit.

* hydra-test.el (hydra-amaranth-vi): Update test.

Fixes #67.
hydra-test.el
hydra.el