]> code.delx.au - gnu-emacs-elpa/commit
Fix blue/red heads with same cmd
authorOleh Krehel <ohwoeowho@gmail.com>
Mon, 23 Mar 2015 17:29:49 +0000 (18:29 +0100)
committerOleh Krehel <ohwoeowho@gmail.com>
Mon, 23 Mar 2015 17:39:34 +0000 (18:39 +0100)
commitc8c6b8c7fc1367922236df16f53e338418378239
tree86d02c22c02f4a049542b386eb599d41ad045d71
parentf6697f3f785c58ce71deafb30c77939ab5e3a7a4
Fix blue/red heads with same cmd

* hydra.el (hydra--make-defun): Update.
(hydra--head-name): Change signature, since body is needed to determine
the color. When the head will exit, add "-and-exit" to its name (except
for the nil head and body).
(defhydra): Update the call to `hydra--head-name', since it's not valid
until the head has a hint.

* hydra-test.el (hydra-blue-toggle): Update.
(hydra-amaranth-vi): Update.
(hydra-zoom-duplicate-1): Update.
(hydra-zoom-duplicate-2): Update.

Fixes #84
hydra-test.el
hydra.el