]> code.delx.au - gnu-emacs-elpa/commit
Allow to pause arbitrary hydras to the stack
authorOleh Krehel <ohwoeowho@gmail.com>
Wed, 24 Jun 2015 09:03:03 +0000 (11:03 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Wed, 24 Jun 2015 09:03:03 +0000 (11:03 +0200)
commit1a13273ff0ac095ddd91e75bf1e2ffac9efcb775
tree56544383ed7b094dc88e4a04bc95ebd5668eac77
parent1acd5f60cd18ea1bd77c0458fa061a0f708a5ad0
Allow to pause arbitrary hydras to the stack

* hydra.el (hydra-pause-resume): New command.
(hydra-pause-ring): New defvar. Stores the paused hydras.
(hydra-keyboard-quit): Set `hydra-curr-map' to nil, so it's possible to
determine if any hydra is active.
(hydra--clearfun): Ignore `hydra-pause-resume', since the hydra needs to
be active for `hydra-pause-resume'.

Fixes #135
hydra.el