]> code.delx.au - gnu-emacs-elpa/commit
Allow access to the current hydra body
authorOleh Krehel <ohwoeowho@gmail.com>
Tue, 19 May 2015 16:50:32 +0000 (18:50 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Tue, 19 May 2015 21:27:17 +0000 (23:27 +0200)
commit900ca3426c3fde82c40d3edc74893d8b61d1cec6
tree2faf288fe38952322d4b5a019fc146eeaf7df852
parent2d458392f99b06b885bef03fd21314fdc17e1ffa
Allow access to the current hydra body

* hydra.el (hydra-curr-body-fn): New defvar.
(hydra--make-defun): All hydra heads will set `hydra-curr-body-fn' to
their respective "hydra.../body" function.

Users may read `hydra-curr-body-fn' from any head.

Re #127
hydra-test.el
hydra.el